You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2011/04/07 21:39:48 UTC

svn commit: r1089954 - /httpd/httpd/trunk/os/win32/os.h

Author: trawick
Date: Thu Apr  7 19:39:48 2011
New Revision: 1089954

URL: http://svn.apache.org/viewvc?rev=1089954&view=rev
Log:
gcc compatibility

PR: 49535 (subset of reported issues)
Submitted by: John Vandenberg <jayvdb gmail.com>

Modified:
    httpd/httpd/trunk/os/win32/os.h

Modified: httpd/httpd/trunk/os/win32/os.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/os/win32/os.h?rev=1089954&r1=1089953&r2=1089954&view=diff
==============================================================================
--- httpd/httpd/trunk/os/win32/os.h (original)
+++ httpd/httpd/trunk/os/win32/os.h Thu Apr  7 19:39:48 2011
@@ -98,7 +98,7 @@ int set_listeners_noninheritable(apr_poo
 #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; }; \