From: William A. Rowe Jr Date: Wed, 18 Sep 2002 16:42:02 +0000 (+0000) Subject: Restrict Win32 API replacements from interfering with 3rd-party builders X-Git-Tag: WROWE_2_0_43_PRE1~105 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d387982c7a13c059ebea015c5738b2c8c5290b08;p=thirdparty%2Fapache%2Fhttpd.git Restrict Win32 API replacements from interfering with 3rd-party builders of add-ons or any other consumer of win32's os.h. PR 12779. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96875 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/os/win32/os.h b/os/win32/os.h index a05b42c0e85..f7c38a3f5c7 100644 --- a/os/win32/os.h +++ b/os/win32/os.h @@ -98,7 +98,10 @@ AP_DECLARE_DATA extern int real_exit_code; : ((real_exit_code = 0), (status)))) -/* Defined in util_win32.c +#ifdef AP_DECLARE_EXPORT + +/* Defined in util_win32.c and available only to the core module for + * win32 MPM design. */ AP_DECLARE(apr_status_t) ap_os_proc_filepath(char **binpath, apr_pool_t *p); @@ -153,6 +156,7 @@ AP_DECLARE_LATE_DLL_FUNC(AP_DLL_WINBASEAPI, DWORD, WINAPI, RegisterServiceProces (dwProcessId, dwType)); #define RegisterServiceProcess ap_winapi_RegisterServiceProcess +#endif /* def AP_DECLARE_EXPORT */ #ifdef __cplusplus }