From: Brian Havard Date: Tue, 18 Jun 2002 11:58:24 +0000 (+0000) Subject: OS/2: Fix linkage to ap_strtol() by making it a macro like on Win32. Modules X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52c5778f241c0b6a263ad339ce102f7886acdab7;p=thirdparty%2Fapache%2Fhttpd.git OS/2: Fix linkage to ap_strtol() by making it a macro like on Win32. Modules 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 --- diff --git a/src/os/os2/os.h b/src/os/os2/os.h index 4ce97ce584e..5a37e4e764f 100644 --- a/src/os/os2/os.h +++ b/src/os/os2/os.h @@ -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);