Daniel Shahaf wrote on Tue, Feb 21, 2012 at 11:21:34 +0200: > This patch should suppress the ~only warning I get when building svn > against httpd-2.4.1: > > [[[ > Index: include/ap_config.h > =================================================================== > --- include/ap_config.h (revision 1291669) > +++ include/ap_config.h (working copy) > @@ -194,7 +194,7 @@ > #define AP_NONBLOCK_WHEN_MULTI_LISTEN 1 > #endif > > -#if AP_ENABLE_DTRACE && HAVE_SYS_SDT_H > +#if defined(AP_ENABLE_DTRACE) && HAVE_SYS_SDT_H
Ping? Attached an updated version that fixes another instance of the same issue. Thanks, Daniel > #include <sys/sdt.h> > #else > #undef _DTRACE_VERSION > ]]] > > For refernce: > [[[ > % grep -R AP_ENABLE_DTRACE include/ > include/ap_config.h:#if AP_ENABLE_DTRACE && HAVE_SYS_SDT_H > include/ap_config_auto.h.in:#undef AP_ENABLE_DTRACE > include/ap_config_auto.h:/* #undef AP_ENABLE_DTRACE */ > ]]] > > OK to commit?
Index: ap_mpm.h =================================================================== --- ap_mpm.h (revision 1293533) +++ ap_mpm.h (working copy) @@ -218,7 +218,7 @@ #define AP_MONCONTROL(x) #endif -#if AP_ENABLE_EXCEPTION_HOOK +#ifdef AP_ENABLE_EXCEPTION_HOOK typedef struct ap_exception_info_t { int sig; pid_t pid; Index: ap_config.h =================================================================== --- ap_config.h (revision 1293533) +++ ap_config.h (working copy) @@ -194,7 +194,7 @@ #define AP_NONBLOCK_WHEN_MULTI_LISTEN 1 #endif -#if AP_ENABLE_DTRACE && HAVE_SYS_SDT_H +#if defined(AP_ENABLE_DTRACE) && HAVE_SYS_SDT_H #include <sys/sdt.h> #else #undef _DTRACE_VERSION