diff options
author | Jeff Trawick <trawick@apache.org> | 2011-04-09 17:56:27 +0200 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2011-04-09 17:56:27 +0200 |
commit | e5d1eb382f554dee8c6086be76c1620e269d96de (patch) | |
tree | d627de8a59b2b343109c01807e4f9a78c4d1b4b6 /server/mpm | |
parent | fix some logging glitches in the WinNT MPM: (diff) | |
download | apache2-e5d1eb382f554dee8c6086be76c1620e269d96de.tar.xz apache2-e5d1eb382f554dee8c6086be76c1620e269d96de.zip |
Fix some MinGW build issues...
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
Diffstat (limited to 'server/mpm')
-rw-r--r-- | server/mpm/winnt/mpm_winnt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/mpm/winnt/mpm_winnt.c b/server/mpm/winnt/mpm_winnt.c index 038464bf68..2556d80bb4 100644 --- a/server/mpm/winnt/mpm_winnt.c +++ b/server/mpm/winnt/mpm_winnt.c @@ -44,6 +44,10 @@ #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. */ |