- winddk.h: Don't define NTSYSAPI and NTSYSCALLAPI -- this is defined in ntdef.h...
[reactos.git] / reactos / hal / halarm / include / hal.h
index 585b4d0..f2c8c2e 100644 (file)
 #include <stdio.h>
 
 /* WDK HAL Compilation hack */
-#ifdef _MSC_VER
 #include <excpt.h>
 #include <ntdef.h>
 #undef _NTHAL_
 #undef DECLSPEC_IMPORT
 #define DECLSPEC_IMPORT
-#define __declspec(dllimport)
-#endif
+#undef NTSYSAPI
+#define NTSYSAPI __declspec(dllimport)
 
 /* IFS/DDK/NDK Headers */
 #include <ntifs.h>