httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r1089954 - /httpd/httpd/trunk/os/win32/os.h
Date Thu, 07 Apr 2011 19:39:48 GMT
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; }; \



Mime
View raw message