Build stub HAL with w32api
authorAlex Ionescu <aionescu@gmail.com>
Sat, 18 Jun 2005 14:27:44 +0000 (14:27 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Sat, 18 Jun 2005 14:27:44 +0000 (14:27 +0000)
svn path=/trunk/; revision=16035

reactos/hal/hal/hal.c
reactos/hal/hal/hal.xml

index f1a22c8..f92355e 100644 (file)
@@ -737,7 +737,7 @@ KdPortEnableInterrupts()
   return FALSE;
 }
 
-
+#undef KeAcquireSpinLock
 VOID
 STDCALL
 KeAcquireSpinLock(
@@ -797,7 +797,7 @@ KeGetCurrentIrql(VOID)
   return (KIRQL)0;
 }
 
-
+#undef KeLowerIrql
 VOID
 STDCALL
 KeLowerIrql(
@@ -821,7 +821,7 @@ KeQueryPerformanceCounter(
   return Value;
 }
 
-
+#undef KeRaiseIrql
 VOID
 STDCALL
 KeRaiseIrql(
@@ -851,7 +851,7 @@ KeRaiseIrqlToSynchLevel(VOID)
   return (KIRQL)0;
 }
 
-
+#undef KeReleaseSpinLock
 VOID
 STDCALL
 KeReleaseSpinLock(
index 547e7f6..2a7bdaa 100644 (file)
@@ -2,6 +2,8 @@
        <importlibrary basename="hal" definition="hal.def" />\r
        <include base="ntoskrnl">include</include>\r
        <library>ntoskrnl</library>\r
+       <define name="_NTOSKRNL_" />\r
+       <define name="__USE_W32API" />\r
        <file>hal.c</file>\r
        <file>hal.rc</file>\r
 </module>\r