]> granicus.if.org Git - apache/commitdiff
Merge r1363035 from trunk:
authorJim Jagielski <jim@apache.org>
Mon, 23 Jul 2012 12:24:41 +0000 (12:24 +0000)
committerJim Jagielski <jim@apache.org>
Mon, 23 Jul 2012 12:24:41 +0000 (12:24 +0000)
avoid decls for some Unix-specific functions on Win32 too

Submitted by: trawick
Reviewed/backported by: jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1364608 13f79535-47bb-0310-9956-ffa450edef68

STATUS
include/mpm_common.h

diff --git a/STATUS b/STATUS
index aefbe7d9fa53758dee219fa0ee84c481078ad59f..8909c5cb8fc7a3e11d7fa356fe4cdb60025d0b25 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -106,11 +106,6 @@ PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
      2.4.x patch: trunk patch works
      +1: trawick, rjung, jim
 
-   * Windows tweak to mpm_common.h to enable MinGW build
-     trunk patch: http://svn.apache.org/viewvc?view=revision&revision=1363035
-     2.4.x patch: trunk patch works
-     +1: trawick, rjung, jim
-
 
 PATCHES PROPOSED TO BACKPORT FROM TRUNK:
   [ New proposals should be added at the end of the list ]
index 99b1945c96663f5eac1be05013278108ef9cead0..0a98d7009e7057ab0765f46bf933215cf87284be 100644 (file)
@@ -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