summaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2011-04-07 21:39:48 +0200
committerJeff Trawick <trawick@apache.org>2011-04-07 21:39:48 +0200
commitf658e4a08bb0a34135365fabaca02dce4b2d0db7 (patch)
tree32fee867a9dda0c2068212e3a115c60eb3f542ee /os
parentrework choice of cgi implementation, handling MinGW (diff)
downloadapache2-f658e4a08bb0a34135365fabaca02dce4b2d0db7.tar.xz
apache2-f658e4a08bb0a34135365fabaca02dce4b2d0db7.zip
gcc compatibility
PR: 49535 (subset of reported issues) Submitted by: John Vandenberg <jayvdb gmail.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089954 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'os')
-rw-r--r--os/win32/os.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/win32/os.h b/os/win32/os.h
index 9b9e0580e3..3ec386c55b 100644
--- a/os/win32/os.h
+++ b/os/win32/os.h
@@ -98,7 +98,7 @@ 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; \
- __inline rettype ap_winapi_##fn args \
+ static APR_INLINE rettype ap_winapi_##fn args \
{ if (!ap_winapi_pfn_##fn) \
ap_winapi_pfn_##fn = (ap_winapi_fpt_##fn) ap_load_dll_func(lib, #fn, ord); \
return (*(ap_winapi_pfn_##fn)) names; }; \