Commit 356eba87 authored by Jeff Trawick's avatar Jeff Trawick
Browse files

include <stdlib.h> to ensure that the exit() prototype has been

seen before the exit macro is defined (fixes compile failure on
MinGW)

axe prototype for absent function set_listeners_noninheritable() 


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090417 13f79535-47bb-0310-9956-ffa450edef68
parent 1c6614e8
Loading
Loading
Loading
Loading
+1 −3
Changes for os/win32/os.h: 1 added line, 3 removed lines.
Original line number Diff line number Diff line
@@ -53,6 +53,7 @@
#define CASE_BLIND_FILESYSTEM

#include <stddef.h>
#include <stdlib.h> /* for exit() */

#ifdef __cplusplus
extern "C" {
@@ -92,9 +93,6 @@ FARPROC ap_load_dll_func(ap_dlltoken_e fnLib, char* fnName, int ordinal);
PSECURITY_ATTRIBUTES GetNullACL(void);
void CleanNullACL(void *sa);

int set_listeners_noninheritable(apr_pool_t *p);


#define AP_DECLARE_LATE_DLL_FUNC(lib, rettype, calltype, fn, ord, args, names) \
    typedef rettype (calltype *ap_winapi_fpt_##fn) args; \
    static ap_winapi_fpt_##fn ap_winapi_pfn_##fn = NULL; \