From: Sascha Schumann Date: Sat, 3 Jul 1999 03:34:47 +0000 (+0000) Subject: work around the Apache problem that it pollutes the namespace X-Git-Tag: BEFORE_REMOVING_GC_STEP1~41 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f3b0f799b3a0c12bce76156c85501717bc70ab9;p=php work around the Apache problem that it pollutes the namespace --- 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"