disable defining ntstatus codes in windows.h/winnt.h when using ndk
authorThomas Bluemel <thomas@reactsoft.com>
Sun, 20 Nov 2005 18:54:55 +0000 (18:54 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Sun, 20 Nov 2005 18:54:55 +0000 (18:54 +0000)
svn path=/trunk/; revision=19382

rosapps/sysutils/ctm/ctm.c
rosapps/sysutils/tlist/tlist.c
rosapps/tests/apc/apc.c
rosapps/tests/atomtest/atomtest.c
rosapps/tests/diskspeed/diskspeed.c
rosapps/tests/hivetest/hivetest.c
rosapps/tests/isotest/isotest.c
rosapps/tests/suspend/suspend.c
rosapps/tests/terminate/terminate.c
rosapps/tests/threadwait/threadwait.c

index 64dfc7b..b221817 100644 (file)
@@ -32,6 +32,7 @@
 
 
 #define WIN32_LEAN_AND_MEAN            // Exclude rarely-used stuff from Windows //headers
 
 
 #define WIN32_LEAN_AND_MEAN            // Exclude rarely-used stuff from Windows //headers
+#define WIN32_NO_STATUS
 #include <windows.h>
 
 #include <stdlib.h>
 #include <windows.h>
 
 #include <stdlib.h>
index 8f68f88..aed9089 100644 (file)
@@ -5,6 +5,7 @@
  * Copyright (c) 2000,2001 Emanuele Aliberti
  */
 #include <reactos/buildno.h>
  * Copyright (c) 2000,2001 Emanuele Aliberti
  */
 #include <reactos/buildno.h>
+#define WIN32_NO_STATUS
 #include <windows.h>
 #define NTOS_MODE_USER
 #include <ndk/ntndk.h>
 #include <windows.h>
 #define NTOS_MODE_USER
 #include <ndk/ntndk.h>
index 99244dd..8ff1c00 100644 (file)
@@ -1,5 +1,6 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdio.h>
 #include <string.h>
+#define WIN32_NO_STATUS
 #include <windows.h>
 #define NTOS_MODE_USER
 #include <ndk/ntndk.h>
 #include <windows.h>
 #define NTOS_MODE_USER
 #include <ndk/ntndk.h>
index c482c39..740e13a 100644 (file)
@@ -1,5 +1,6 @@
 #include <stdio.h>
 #include <string.h>
 #include <stdio.h>
 #include <string.h>
+#define WIN32_NO_STATUS
 #include <windows.h>
 #define NTOS_MODE_USER
 #include <ndk/ntndk.h>
 #include <windows.h>
 #define NTOS_MODE_USER
 #include <ndk/ntndk.h>
index dca9d17..e7e52df 100644 (file)
@@ -10,7 +10,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
 
 #include <stdio.h>
 #include <stdlib.h>
-
+#define WIN32_NO_STATUS
 #include <windows.h>
 #define NTOS_MODE_USER
 #include <ndk/ntndk.h>
 #include <windows.h>
 #define NTOS_MODE_USER
 #include <ndk/ntndk.h>
index 160b56a..8de1b45 100644 (file)
@@ -1,7 +1,7 @@
 #include <stdarg.h>
 #include <string.h>
 #include <stdio.h>
 #include <stdarg.h>
 #include <string.h>
 #include <stdio.h>
-
+#define WIN32_NO_STATUS
 #include <windows.h>
 #define NTOS_MODE_USER
 #include <ndk/ntndk.h>
 #include <windows.h>
 #define NTOS_MODE_USER
 #include <ndk/ntndk.h>
index 7dea125..a0c4921 100644 (file)
@@ -2,6 +2,7 @@
  * isotest - display cdrom information
  */
 
  * isotest - display cdrom information
  */
 
+#define WIN32_NO_STATUS
 #include <windows.h>
 #define NTOS_MODE_USER
 #include <ndk/ntndk.h>
 #include <windows.h>
 #define NTOS_MODE_USER
 #include <ndk/ntndk.h>
index 4706116..a1f8a06 100644 (file)
@@ -1,5 +1,5 @@
 #define UNICODE
 #define UNICODE
-
+#define WIN32_NO_STATUS
 #include <windows.h>
 #include <stdio.h>
 #define NTOS_MODE_USER
 #include <windows.h>
 #include <stdio.h>
 #define NTOS_MODE_USER
index 9553194..7fd749f 100644 (file)
@@ -1,5 +1,5 @@
 #define UNICODE
 #define UNICODE
-
+#define WIN32_NO_STATUS
 #include <windows.h>
 #include <stdio.h>
 #define NTOS_MODE_USER
 #include <windows.h>
 #include <stdio.h>
 #define NTOS_MODE_USER
index d359a41..06c20c4 100644 (file)
@@ -4,6 +4,7 @@
  * Purpose: Probe for PsUnblockThread crash due to double-acquire spin lock.
  */
 
  * Purpose: Probe for PsUnblockThread crash due to double-acquire spin lock.
  */
 
+#define WIN32_NO_STATUS
 #include <windows.h>
 #include <stdio.h>
 
 #include <windows.h>
 #include <stdio.h>