]> granicus.if.org Git - php/commitdiff
UnixWare defines shutdown to _shutdown, which causes problems later
authorSascha Schumann <sas@php.net>
Fri, 29 Sep 2000 19:08:17 +0000 (19:08 +0000)
committerSascha Schumann <sas@php.net>
Fri, 29 Sep 2000 19:08:17 +0000 (19:08 +0000)
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

sapi/apache/mod_php4.c

index 1a0227dc15464b510b64a2532c97134379bee32d..ae7654f1440843223937565acb227955dad1f752 100644 (file)
@@ -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);