fixed win32k build, trunks builds again thanks w3seek for the help
authorMagnus Olsen <magnus@greatlord.com>
Thu, 7 Sep 2006 17:35:31 +0000 (17:35 +0000)
committerMagnus Olsen <magnus@greatlord.com>
Thu, 7 Sep 2006 17:35:31 +0000 (17:35 +0000)
svn path=/trunk/; revision=23959

reactos/include/ddk/winddk.h

index 3d99f01..1c11651 100644 (file)
@@ -40,7 +40,14 @@ extern "C" {
 #define DDKCDECLAPI __cdecl
 
 /* FIXME: REMOVE THIS UNCOMPATIBLE CRUFT!!! */
-#define NTKERNELAPI
+//#define NTKERNELAPI
+
+#ifdef _NTOSKRNL_
+#define NTKERNELAPI 
+#else
+#define NTKERNELAPI DECLSPEC_IMPORT
+#endif
+
 
 #ifndef NTOSAPI
 #define NTOSAPI NTKERNELAPI