summaryrefslogtreecommitdiff
path: root/sapi/apache/mod_php4.c
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-09-29 19:08:17 +0000
committerSascha Schumann <sas@php.net>2000-09-29 19:08:17 +0000
commit3be464e4ec409be06806bf71cbd5dd9aa8960ee9 (patch)
tree53a598576f2bb5ec7829294eedd3e623f813a507 /sapi/apache/mod_php4.c
parentca1b12c5a1376d69fe2127167ca28b79245a38ee (diff)
downloadphp-git-3be464e4ec409be06806bf71cbd5dd9aa8960ee9.tar.gz
UnixWare defines shutdown to _shutdown, which causes problems later
on when using a structure member named shutdown. Since this source file does not use the system call shutdown, it is safe to #undef it. PR: #6008, #6362
Diffstat (limited to 'sapi/apache/mod_php4.c')
-rw-r--r--sapi/apache/mod_php4.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c
index 1a0227dc15..ae7654f144 100644
--- a/sapi/apache/mod_php4.c
+++ b/sapi/apache/mod_php4.c
@@ -63,6 +63,8 @@
# include "mod_dav.h"
#endif
+#undef shutdown
+
int apache_php_module_main(request_rec *r, int display_source_mode CLS_DC ELS_DC PLS_DC SLS_DC);
void php_save_umask(void);
void php_restore_umask(void);