[ACPI]
authorAmine Khaldi <amine.khaldi@reactos.org>
Tue, 20 Jul 2010 12:11:17 +0000 (12:11 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Tue, 20 Jul 2010 12:11:17 +0000 (12:11 +0000)
- Define WIN32 when compiling with MSVC

svn path=/trunk/; revision=48132

reactos/drivers/bus/acpi/acpi.rbuild

index 334cdfc..f11b694 100644 (file)
        <xi:include href="compbatt/compbatt.rbuild" />
 </directory>
 
        <xi:include href="compbatt/compbatt.rbuild" />
 </directory>
 
+<if property="ARCH" value="i386">
+       <group compilerset="msc">
+               <define name="WIN32"/>
+       </group>
+</if>
 
 <module name="acpi" type="kernelmodedriver" installbase="system32/drivers" installname="acpi.sys" allowwarnings="true">
        <bootstrap installbase="$(CDOUTPUT)" />
 
 <module name="acpi" type="kernelmodedriver" installbase="system32/drivers" installname="acpi.sys" allowwarnings="true">
        <bootstrap installbase="$(CDOUTPUT)" />