]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r1706595 from trunk:
authorJim Jagielski <jim@apache.org>
Fri, 16 Dec 2016 15:44:07 +0000 (15:44 +0000)
committerJim Jagielski <jim@apache.org>
Fri, 16 Dec 2016 15:44:07 +0000 (15:44 +0000)
Follow-up to r1702948:

APR_HAVE_foo is checked via #if, not #ifdef (since it should always be
defined, to either 0 or 1)

This fixes a compile error on Windows introduced by r1702948
as well as straightens up two long-time glitches.

Submitted by: trawick
Reviewed/backported by: jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1774626 13f79535-47bb-0310-9956-ffa450edef68

STATUS
include/scoreboard.h
modules/filters/regexp.c
modules/ssl/ssl_private.h

diff --git a/STATUS b/STATUS
index 3c360f7d29bfe23c15c86d44a685f850aedf7500..b9be65830a8f3929f6f900399ffb5601db44d93a 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -118,13 +118,6 @@ RELEASE SHOWSTOPPERS:
 PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
   [ start all new proposals below, under PATCHES PROPOSED. ]
 
-  *) APR_HAVE_foo is checked via #if, not #ifdef (since it should always be
-     defined, to either 0 or 1).
-     This fixes a compile error on Windows introduced by r1702948.
-     as well as straightens up two long-time glitches.
-     trunk patch: http://svn.apache.org/r1706595
-     2.4.x patch: trunk works
-     +1: rjung, jim, ylavic
 
 
 PATCHES PROPOSED TO BACKPORT FROM TRUNK:
index e3c68d26cb550396331bcf03b97e87131db6a7ed..1378128943e4f2f2d6d8c5ef8d499a970b37a04e 100644 (file)
@@ -26,7 +26,7 @@
 extern "C" {
 #endif
 
-#ifdef APR_HAVE_SYS_TIME_H
+#if APR_HAVE_SYS_TIME_H
 #include <sys/time.h>
 #include <sys/times.h>
 #endif
index ba118a6552d45af30bd4f7c9c979e3288876ca5b..4acccca6765338cc0ce8892af0fbec9eea46f178 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "apr.h"
 #include "apr_lib.h"
-#ifdef APR_HAVE_LIMITS_H
+#if APR_HAVE_LIMITS_H
 #include <limits.h>
 #endif
 #if APR_HAVE_STDLIB_H
index 7f6f9fd95ace40880610587b9db920e3cd5fc8db..7813e4137cdfd2ade0b82b9a6f4cad813fb6ead7 100644 (file)
@@ -57,7 +57,7 @@
 /* The #ifdef macros are only defined AFTER including the above
  * therefore we cannot include these system files at the top  :-(
  */
-#ifdef APR_HAVE_STDLIB_H
+#if APR_HAVE_STDLIB_H
 #include <stdlib.h>
 #endif
 #if APR_HAVE_SYS_TIME_H