2000-05-29 00:22:28 +08:00
|
|
|
#ifndef PHP_SYSLOG_H
|
|
|
|
#define PHP_SYSLOG_H
|
|
|
|
|
|
|
|
#ifdef PHP_WIN32
|
|
|
|
#include "win32/syslog.h"
|
|
|
|
#else
|
|
|
|
#include <syslog.h>
|
|
|
|
#endif
|
|
|
|
|
2000-06-10 01:21:40 +08:00
|
|
|
/*
|
|
|
|
* The SCO OpenServer 5 Development System (not the UDK)
|
|
|
|
* defines syslog to std_syslog.
|
2000-05-29 00:22:28 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef syslog
|
|
|
|
|
2000-06-10 01:21:40 +08:00
|
|
|
#ifdef HAVE_STD_SYSLOG
|
2000-06-01 08:48:28 +08:00
|
|
|
#define php_syslog std_syslog
|
2000-05-29 00:22:28 +08:00
|
|
|
#endif
|
|
|
|
|
2000-06-10 01:21:40 +08:00
|
|
|
#undef syslog
|
|
|
|
|
2000-05-29 00:22:28 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef php_syslog
|
|
|
|
#define php_syslog syslog
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|