From: William A. Rowe Jr Date: Tue, 18 Jun 2002 04:19:46 +0000 (+0000) Subject: Two remnants required to make ap_strtol a macro on any platform, X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=292a549615cf96e125467383e1d62d7faee1583b;p=thirdparty%2Fapache%2Fhttpd.git Two remnants required to make ap_strtol a macro on any platform, specifically win32 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@95759 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/ApacheCore.def b/src/ApacheCore.def index eeecd2a1041..6e15c7b000b 100644 --- a/src/ApacheCore.def +++ b/src/ApacheCore.def @@ -447,4 +447,3 @@ EXPORTS ap_getline @439 ap_get_chunk_size @440 ap_escape_logitem @441 - ap_strtol @442 diff --git a/src/include/ap.h b/src/include/ap.h index 9f21f24d8bf..4eee68b4851 100644 --- a/src/include/ap.h +++ b/src/include/ap.h @@ -74,8 +74,10 @@ int ap_slack(int, int); int ap_execle(const char *, const char *, ...); int ap_execve(const char *, char * const argv[], char * const envp[]); API_EXPORT(int) ap_getpass(const char *prompt, char *pwbuf, size_t bufsiz); -API_EXPORT(long) ap_strtol(const char *nptr, char **endptr, int base); +#ifndef ap_strtol +API_EXPORT(long) ap_strtol(const char *nptr, char **endptr, int base); +#endif /* small utility macros to make things easier to read */