42 #define PLATFORM "Win64"
44 #define PLATFORM "Win32"
52 #define AP_PLATFORM_REWRITE_ARGS_HOOK NULL
55 #define HAVE_DRIVE_LETTERS
56 #define HAVE_UNC_PATHS
57 #define CASE_BLIND_FILESYSTEM
75 #define exit(status) ((exit)((ap_real_exit_code==2) \
76 ? (ap_real_exit_code = (status)) \
77 : ((ap_real_exit_code = 0), (status))))
79 #ifdef AP_DECLARE_EXPORT
88 AP_DLL_WINBASEAPI = 0,
90 AP_DLL_WINSOCKAPI = 2,
91 AP_DLL_WINSOCK2API = 3,
95 FARPROC ap_load_dll_func(ap_dlltoken_e fnLib,
char* fnName,
int ordinal);
97 #define AP_DECLARE_LATE_DLL_FUNC(lib, rettype, calltype, fn, ord, args, names) \
98 typedef rettype (calltype *ap_winapi_fpt_##fn) args; \
99 static ap_winapi_fpt_##fn ap_winapi_pfn_##fn = NULL; \
100 static APR_INLINE rettype ap_winapi_##fn args \
101 { if (!ap_winapi_pfn_##fn) \
102 ap_winapi_pfn_##fn = (ap_winapi_fpt_##fn) ap_load_dll_func(lib, #fn, ord); \
103 return (*(ap_winapi_pfn_##fn)) names; }; \
int apr_status_t
Definition: apr_errno.h:44
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
#define AP_DECLARE_DATA
Definition: macros.h:15
#define AP_DECLARE(x)
Definition: macros.h:1