summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-07-03 03:34:47 +0000
committerSascha Schumann <sas@php.net>1999-07-03 03:34:47 +0000
commit6f3b0f799b3a0c12bce76156c85501717bc70ab9 (patch)
tree69f9fdca309966d1dd0a039d904e594c7e1be384 /main/php.h
parent7bbd454143368224030715aff008421648bc8f92 (diff)
downloadphp-git-6f3b0f799b3a0c12bce76156c85501717bc70ab9.tar.gz
work around the Apache problem that it pollutes the namespace
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h
index 75e392d567..73253b9139 100644
--- a/main/php.h
+++ b/main/php.h
@@ -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"