mpm_winnt.c: MinGW doesn't currently define the Windows
STACK_SIZE_PARAM_IS_A_RESERVATION symbol
mpm_unix.c: Bypass all this code on Windows (too much trouble
to keep it out of Makefile)
mpm_common.h: Skip over definitions of functions not available on
Windows to keep references out of exports.c.
PR: 49535
Submitted by: John Vandenberg <jayvdb gmail.com>
Minor tweaks by: trawick
Other commits for this PR: r1089950, r1089951, r1089954
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1090614 13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.3.12
+ *) MinGW build improvements. PR 49535. [John Vandenberg
+ <jayvdb gmail.com>, Jeff Trawick]
+
*) core: Support module names with colons in loglevel configuration.
[Torsten Förtsch <torsten foertsch gmx net>]
int initgroups(const char *name, gid_t basegid);
#endif
+#if !defined(WIN32) || defined(DOXYGEN)
+
typedef struct ap_pod_t ap_pod_t;
struct ap_pod_t {
*/
AP_DECLARE(void) ap_mpm_pod_killpg(ap_pod_t *pod, int num);
+#endif /* !WIN32 || DOXYGEN */
+
/**
* Check that exactly one MPM is loaded
* Returns NULL if yes, error string if not.
#define _environ environ
#endif
+#ifndef STACK_SIZE_PARAM_IS_A_RESERVATION /* missing on MinGW */
+#define STACK_SIZE_PARAM_IS_A_RESERVATION 0x00010000
+#endif
+
/* scoreboard.c does the heavy lifting; all we do is create the child
* score by moving a handle down the pipe into the child's stdin.
*/
* does not belong in src/os/unix
*/
+#ifndef WIN32
+
#include "apr.h"
#include "apr_thread_proc.h"
#include "apr_signal.h"
return APR_SUCCESS;
}
+
+#endif /* WIN32 */