From: Sascha Schumann Date: Fri, 29 Sep 2000 19:08:17 +0000 (+0000) Subject: UnixWare defines shutdown to _shutdown, which causes problems later X-Git-Tag: php-4.0.3RC1~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3be464e4ec409be06806bf71cbd5dd9aa8960ee9;p=php 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 --- 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);