summaryrefslogtreecommitdiff
path: root/ext/standard/php_ext_syslog.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/php_ext_syslog.h')
-rw-r--r--ext/standard/php_ext_syslog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/php_ext_syslog.h b/ext/standard/php_ext_syslog.h
index 23505fbce0..437dfeabce 100644
--- a/ext/standard/php_ext_syslog.h
+++ b/ext/standard/php_ext_syslog.h
@@ -27,7 +27,9 @@
PHP_MINIT_FUNCTION(syslog);
PHP_RINIT_FUNCTION(syslog);
+#ifdef PHP_WIN32
PHP_RSHUTDOWN_FUNCTION(syslog);
+#endif
PHP_MSHUTDOWN_FUNCTION(syslog);
PHP_FUNCTION(openlog);