httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From field...@apache.org
Subject svn commit: r660702 - /httpd/httpd/branches/2.2.x/support/ab.c
Date Tue, 27 May 2008 21:00:16 GMT
Author: fielding
Date: Tue May 27 14:00:16 2008
New Revision: 660702

URL: http://svn.apache.org/viewvc?rev=660702&view=rev
Log:
Backport r657433 by rpluem

* Include <limits.h> earlier if available since INT_MAX is defined there on
  Windows and we need INT_MAX already for the definition of MAX_REQUESTS.

PR: 45024

Modified:
    httpd/httpd/branches/2.2.x/support/ab.c   (contents, props changed)

Modified: httpd/httpd/branches/2.2.x/support/ab.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/support/ab.c?rev=660702&r1=660701&r2=660702&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/support/ab.c (original)
+++ httpd/httpd/branches/2.2.x/support/ab.c Tue May 27 14:00:16 2008
@@ -193,6 +193,9 @@
 #if APR_HAVE_CTYPE_H
 #include <ctype.h>
 #endif
+#if APR_HAVE_LIMITS_H
+#include <limits.h>
+#endif
 
 /* ------------------- DEFINITIONS -------------------------- */
 
@@ -426,7 +429,6 @@
 }
 
 #ifndef RAND_MAX
-#include <limits.h>
 #define RAND_MAX INT_MAX
 #endif
 

Propchange: httpd/httpd/branches/2.2.x/support/ab.c
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue May 27 14:00:16 2008
@@ -1 +1 @@
-/httpd/httpd/trunk/support/ab.c:83751-655654
+/httpd/httpd/trunk/support/ab.c:83751-655654,657433



Mime
View raw message