]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
gcc compatibility
authorJeff Trawick <trawick@apache.org>
Thu, 7 Apr 2011 19:39:48 +0000 (19:39 +0000)
committerJeff Trawick <trawick@apache.org>
Thu, 7 Apr 2011 19:39:48 +0000 (19:39 +0000)
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

os/win32/os.h

index 9b9e0580e31c0cb4135888def215dbaddd3c163d..3ec386c55baa246702777229eaf11a9346ee01b4 100644 (file)
@@ -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; }; \