Build stub HAL with w32api
Modified: trunk/reactos/hal/hal/hal.c
Modified: trunk/reactos/hal/hal/hal.xml

Modified: trunk/reactos/hal/hal/hal.c
--- trunk/reactos/hal/hal/hal.c	2005-06-18 14:26:22 UTC (rev 16034)
+++ trunk/reactos/hal/hal/hal.c	2005-06-18 14:27:44 UTC (rev 16035)
@@ -737,7 +737,7 @@
   return FALSE;
 }
 
-
+#undef KeAcquireSpinLock
 VOID
 STDCALL
 KeAcquireSpinLock(
@@ -797,7 +797,7 @@
   return (KIRQL)0;
 }
 
-
+#undef KeLowerIrql
 VOID
 STDCALL
 KeLowerIrql(
@@ -821,7 +821,7 @@
   return Value;
 }
 
-
+#undef KeRaiseIrql
 VOID
 STDCALL
 KeRaiseIrql(
@@ -851,7 +851,7 @@
   return (KIRQL)0;
 }
 
-
+#undef KeReleaseSpinLock
 VOID
 STDCALL
 KeReleaseSpinLock(

Modified: trunk/reactos/hal/hal/hal.xml
--- trunk/reactos/hal/hal/hal.xml	2005-06-18 14:26:22 UTC (rev 16034)
+++ trunk/reactos/hal/hal/hal.xml	2005-06-18 14:27:44 UTC (rev 16035)
@@ -2,6 +2,8 @@
 	<importlibrary basename="hal" definition="hal.def" />
 	<include base="ntoskrnl">include</include>
 	<library>ntoskrnl</library>
+	<define name="_NTOSKRNL_" />
+	<define name="__USE_W32API" />
 	<file>hal.c</file>
 	<file>hal.rc</file>
 </module>