]> granicus.if.org Git - apache/commitdiff
Restrict Win32 API replacements from interfering with 3rd-party builders
authorWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 18 Sep 2002 16:42:02 +0000 (16:42 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 18 Sep 2002 16:42:02 +0000 (16:42 +0000)
  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

os/win32/os.h

index a05b42c0e85fe0c7a73a98180f0e71939e17a1d1..f7c38a3f5c74ce4685cf05f31fc6b0337f65138d 100644 (file)
@@ -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
 }