Hello there,
Trying to enable syslog support with 6.4.2 on AIX4.[12] (gcc 2.8.1), I
have added:
* in Makefile.custom:CFLAGS+=-DUSE_SYSLOG -D_XOPEN_EXTENDED_SOURCE
(the -D_XOPEN_EXTENDED_SOURCE is for AIX's <syslog.h>
* and in trace.c:
*** trace.c.distrib Wed Jun 2 11:45:34 1999
--- trace.c Wed Jun 2 10:01:18 1999
***************
*** 21,26 ****
--- 21,27 ---- #ifdef USE_SYSLOG #include <syslog.h>
+ int openlog_done = 0; #endif #include "postgres.h"
Seems to work fine.
Could the -D_XOPEN_EXTENDED_SOURCE be a problem somehow ?
TIA
--
Thierry Holtzer
E-mail : Thierry.Holtzer@ceram.fr ---------------------------------------------------------- Dptmt Informatique
d'Entreprise CERAM Tel : +33 4 9395 4545 Rue Dostoievski - BP 085 Fax : +33
49365 4524 06 902 Sophia-Antipolis Cedex - France