Why not fix the code instead? I hate these kinds of hacks.

GCC understands __inline and static, so just make the code not use STATIC and inline.

On 22-Jun-09, at 1:03 PM, [email protected] wrote:

Author: hyperion
Date: Tue Jun 23 00:03:20 2009
New Revision: 41557

URL: http://svn.reactos.org/svn/reactos?rev=41557&view=rev
Log:
#define inline to __inline for Visual C++ when compiling C sources

Modified:
   trunk/reactos/ReactOS-generic.rbuild

Modified: trunk/reactos/ReactOS-generic.rbuild
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/ReactOS-generic.rbuild?rev=41557&r1=41556&r2=41557&view=diff
= = = = = = = = ======================================================================
--- trunk/reactos/ReactOS-generic.rbuild [iso-8859-1] (original)
+++ trunk/reactos/ReactOS-generic.rbuild [iso-8859-1] Tue Jun 23 00:03:20 2009
@@ -132,6 +132,7 @@
        </group>

        <group compilerset="msc">
+               <define name="inline" compiler="cc">__inline</define>
                <compilerflag>/Zl</compilerflag>
                <compilerflag>/Zi</compilerflag>
                <compilerflag>/W1</compilerflag>


Best regards,
Alex Ionescu

Reply via email to