From 3be464e4ec409be06806bf71cbd5dd9aa8960ee9 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Fri, 29 Sep 2000 19:08:17 +0000 Subject: [PATCH] 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 --- sapi/apache/mod_php4.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c index 1a0227dc154..ae7654f1440 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);