]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
OS/2: Fix linkage to ap_strtol() by making it a macro like on Win32. Modules
authorBrian Havard <bjh@apache.org>
Tue, 18 Jun 2002 11:58:24 +0000 (11:58 +0000)
committerBrian Havard <bjh@apache.org>
Tue, 18 Jun 2002 11:58:24 +0000 (11:58 +0000)
were failing to build because ap_strtol() wasn't being exported from the core.
This makes it unnecessary.

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

src/os/os2/os.h

index 4ce97ce584e962e067fa1200e97287bb662c4835..5a37e4e764fa8e2667c33062d61483e4eac31b1e 100644 (file)
@@ -47,6 +47,9 @@ char *ap_os_error_message(int err);
 #define HAVE_ISINF
 #define HAVE_ISNAN
 
+/* strtol() correctly returns ERANGE on overflow, use it */
+#define ap_strtol strtol
+
 /* Dynamic loading functions */
 #define     ap_os_dso_handle_t  unsigned long
 void        ap_os_dso_init(void);