]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
We are safe. We don't need this according to MSVC docs assertions.
authorWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 18 Jun 2002 04:08:26 +0000 (04:08 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 18 Jun 2002 04:08:26 +0000 (04:08 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@95757 13f79535-47bb-0310-9956-ffa450edef68

src/ap/ap.dsp
src/os/win32/os.h

index 286d6cd1449bf9ab6cb5ba33c138d2defb7944a1..d4ccb941e49bccc2b825a3ac97d7c55910fba819 100644 (file)
@@ -119,10 +119,6 @@ SOURCE=.\ap_slack.c
 
 SOURCE=.\ap_snprintf.c
 # End Source File
-# Begin Source File
-
-SOURCE=.\ap_strtol.c
-# End Source File
 # End Group
 # Begin Group "Header Files"
 
index 442c5f5a90e0dcab83fdaa95bd32eb947a40d78b..4cb1f65ff1da5db7c4005a79f237da3b29634eb3 100755 (executable)
@@ -172,6 +172,12 @@ every configuration function as __stdcall.
 #define NO_SLACK
 #include <stddef.h>
 
+/* MSVC asserts that strtol "errno is set to ERANGE 
+ * if overflow or underflow occurs"
+ * Ergo we can use the library strtol safely.
+ */
+#define ap_strtol strtol
+
 #define NO_OTHER_CHILD
 #define NO_RELIABLE_PIPED_LOGS