summaryrefslogtreecommitdiff
path: root/ext/standard/php3_syslog.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/php3_syslog.h')
-rw-r--r--ext/standard/php3_syslog.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/standard/php3_syslog.h b/ext/standard/php3_syslog.h
index 028a5aa018..458e597254 100644
--- a/ext/standard/php3_syslog.h
+++ b/ext/standard/php3_syslog.h
@@ -27,6 +27,10 @@
| |
+----------------------------------------------------------------------+
*/
+
+#ifndef _PHP_SYSLOG_H
+#define _PHP_SYSLOG_H
+
#if HAVE_SYSLOG_H
extern php3_module_entry syslog_module_entry;
#define syslog_module_ptr &syslog_module_entry
@@ -42,3 +46,7 @@ extern void php3_define_syslog_variables(INTERNAL_FUNCTION_PARAMETERS);
#else
#define syslog_module_ptr NULL
#endif
+
+#define phpext_syslog_ptr syslog_module_ptr
+
+#endif /* _PHP_SYSLOG_H */