home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 26 / AACD 26.iso / AACD / Online / PHP / include / php / main / php_syslog.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-02-24  |  430 b   |  33 lines

  1. #ifndef PHP_SYSLOG_H
  2. #define PHP_SYSLOG_H
  3.  
  4. #ifdef PHP_WIN32
  5. #include "win32/syslog.h"
  6. #else
  7. #include "php_config.h"
  8. #ifdef HAVE_SYSLOG_H
  9. #include <syslog.h>
  10. #endif
  11. #endif
  12.  
  13. /* 
  14.  * The SCO OpenServer 5 Development System (not the UDK)
  15.  * defines syslog to std_syslog.
  16.  */
  17.  
  18. #ifdef syslog
  19.  
  20. #ifdef HAVE_STD_SYSLOG
  21. #define php_syslog std_syslog
  22. #endif
  23.  
  24. #undef syslog
  25.  
  26. #endif
  27.  
  28. #ifndef php_syslog
  29. #define php_syslog syslog
  30. #endif
  31.  
  32. #endif
  33.