]> granicus.if.org Git - php/commitdiff
work around the Apache problem that it pollutes the namespace
authorSascha Schumann <sas@php.net>
Sat, 3 Jul 1999 03:34:47 +0000 (03:34 +0000)
committerSascha Schumann <sas@php.net>
Sat, 3 Jul 1999 03:34:47 +0000 (03:34 +0000)
main/php.h

index 75e392d567412bab12c0fdec379a3f3e94267fe8..73253b913969dad13502cf5f4b968cfb91a1d6f9 100644 (file)
@@ -174,7 +174,15 @@ extern char *strerror(int);
 
 #if APACHE /* apache httpd */
 # if HAVE_AP_CONFIG_H
+#include "ap_config_auto.h"
+#ifdef RHAPSODY
+#undef HAVE_SNPRINTF
+#endif
 #include "ap_config.h"
+#ifdef RHAPSODY
+#undef HAVE_SNPRINTF
+#define HAVE_SNPRINTF 1
+#endif
 # endif
 # if HAVE_OLD_COMPAT_H
 #include "compat.h"