https://issues.apache.org/bugzilla/show_bug.cgi?id=45024

           Summary: ab.c will not compile on VC6
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


INT_MAX is used to define MAX_REQUESTS on line 206 and requires the inclusion
of limits.h. However, limits.h is not included till line 429 and building on
VC6 goes down in flames. Furthermore, limits.h is included inside a conditional
statement #ifndef RAND_MAX. Hypothetically, if RAND_MAX is already defined, the
condition would be false and limits.h would never be included at which point I
would think all compilers would frown on it.

Since INT_MAX is used unconditionally, limits.h needs to be included before
line 206 AFAIK.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to