You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
525 B

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