From: Jeff Trawick Date: Wed, 18 Jul 2012 18:28:04 +0000 (+0000) Subject: avoid decls for some Unix-specific functions on Win32 too X-Git-Tag: 2.5.0-alpha~6629 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=952186c9f5b5222595683fc4e909c562af8f0247;p=apache avoid decls for some Unix-specific functions on Win32 too git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1363035 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/include/mpm_common.h b/include/mpm_common.h index 99b1945c96..0a98d7009e 100644 --- a/include/mpm_common.h +++ b/include/mpm_common.h @@ -89,7 +89,7 @@ extern "C" { typedef void ap_reclaim_callback_fn_t(int childnum, pid_t pid, ap_generation_t gen); -#ifndef NETWARE +#if (!defined(WIN32) && !defined(NETWARE)) || defined(DOXYGEN) /** * Make sure all child processes that have been spawned by the parent process * have died. This includes process registered as "other_children". @@ -164,7 +164,8 @@ AP_DECLARE(int) ap_process_child_status(apr_proc_t *pid, apr_exit_why_e why, int AP_DECLARE(apr_status_t) ap_fatal_signal_setup(server_rec *s, apr_pool_t *in_pconf); AP_DECLARE(apr_status_t) ap_fatal_signal_child_setup(server_rec *s); -#endif /* !NETWARE */ + +#endif /* (!WIN32 && !NETWARE) || DOXYGEN */ /** * Pool cleanup for end-generation hook implementation