File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -361,6 +361,7 @@ srand48 \
361
361
srandom \
362
362
statfs \
363
363
statvfs \
364
+ std_syslog \
364
365
strcasecmp \
365
366
strdup \
366
367
strerror \
Original file line number Diff line number Diff line change 7
7
#include <syslog.h>
8
8
#endif
9
9
10
- /*
11
- * SCO OpenServer 5 defines syslog to var_syslog/std_syslog which
12
- * causes trouble with our use of syslog. We define php_syslog
13
- * to be the system function syslog.
10
+ /*
11
+ * The SCO OpenServer 5 Development System (not the UDK)
12
+ * defines syslog to std_syslog.
14
13
*/
15
14
16
15
#ifdef syslog
17
16
18
- #if defined(var_syslog ) && var_syslog == syslog
19
- #define php_syslog var_syslog
20
- #elif defined(std_syslog ) && std_syslog == syslog
17
+ #ifdef HAVE_STD_SYSLOG
21
18
#define php_syslog std_syslog
22
19
#endif
23
20
21
+ #undef syslog
22
+
24
23
#endif
25
24
26
25
#ifndef php_syslog
27
26
#define php_syslog syslog
28
- #undef syslog
29
27
#endif
30
28
31
-
32
29
#endif
You can’t perform that action at this time.
0 commit comments