diff options
| author | Anantha Kesari H Y <hyanantha@php.net> | 2005-07-15 12:35:12 +0000 |
|---|---|---|
| committer | Anantha Kesari H Y <hyanantha@php.net> | 2005-07-15 12:35:12 +0000 |
| commit | 384a96faf60cc8f60233172f1f26d9d680ddf930 (patch) | |
| tree | bd323088c893649e053b90b872850f791d1a4089 /ext/standard/syslog.c | |
| parent | cdd43e622d88599bb351cc9b4b8495fde8c79918 (diff) | |
| download | php-git-384a96faf60cc8f60233172f1f26d9d680ddf930.tar.gz | |
ext/standard/file.h NetWare LibC has fnmatch and realpath implemented.
ext/standard/syslog.c Except LOG_SYSLOG other syslog macros are supported by NetWare LibC.
ext/standard/string.c NetWare fix for dirname
-- Kamesh
Diffstat (limited to 'ext/standard/syslog.c')
| -rw-r--r-- | ext/standard/syslog.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/standard/syslog.c b/ext/standard/syslog.c index 9710ea4d60..9af2efee2c 100644 --- a/ext/standard/syslog.c +++ b/ext/standard/syslog.c @@ -75,7 +75,7 @@ PHP_MINIT_FUNCTION(syslog) /* AIX doesn't have LOG_AUTHPRIV */ REGISTER_LONG_CONSTANT("LOG_AUTHPRIV", LOG_AUTHPRIV, CONST_CS | CONST_PERSISTENT); #endif -#if !defined(PHP_WIN32) && !defined(NETWARE) +#ifndef PHP_WIN32 REGISTER_LONG_CONSTANT("LOG_LOCAL0", LOG_LOCAL0, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("LOG_LOCAL1", LOG_LOCAL1, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("LOG_LOCAL2", LOG_LOCAL2, CONST_CS | CONST_PERSISTENT); @@ -144,7 +144,9 @@ static void start_syslog(TSRMLS_D) SET_VAR_LONG("LOG_MAIL", LOG_MAIL); /* log to email */ SET_VAR_LONG("LOG_DAEMON", LOG_DAEMON); /* other system daemons */ SET_VAR_LONG("LOG_AUTH", LOG_AUTH); +#ifndef NETWARE SET_VAR_LONG("LOG_SYSLOG", LOG_SYSLOG); +#endif SET_VAR_LONG("LOG_LPR", LOG_LPR); #ifdef LOG_NEWS /* No LOG_NEWS on HP-UX */ |
