php-src/main/php_syslog.h
Sascha Schumann 8f58728e2b Real fix for std_syslog issue on OpenServer. This is limited to the native
development system (/bin/cc and icc) and does not show up with the UDK.
2000-06-09 17:21:40 +00:00

30 lines
378 B
C

#ifndef PHP_SYSLOG_H
#define PHP_SYSLOG_H
#ifdef PHP_WIN32
#include "win32/syslog.h"
#else
#include <syslog.h>
#endif
/*
* The SCO OpenServer 5 Development System (not the UDK)
* defines syslog to std_syslog.
*/
#ifdef syslog
#ifdef HAVE_STD_SYSLOG
#define php_syslog std_syslog
#endif
#undef syslog
#endif
#ifndef php_syslog
#define php_syslog syslog
#endif
#endif