diff options
Diffstat (limited to 'ext/standard/syslog.c')
-rw-r--r-- | ext/standard/syslog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/syslog.c b/ext/standard/syslog.c index 15fcc80bfb..34bba462ed 100644 --- a/ext/standard/syslog.c +++ b/ext/standard/syslog.c @@ -114,13 +114,13 @@ PHP_RINIT_FUNCTION(syslog) } +#ifdef PHP_WIN32 PHP_RSHUTDOWN_FUNCTION(syslog) { -#ifdef PHP_WIN32 closelog(); -#endif return SUCCESS; } +#endif PHP_MSHUTDOWN_FUNCTION(syslog) { |