disable defining ntstatus codes in windows.h/winnt.h when using ndk Modified: trunk/rosapps/sysutils/ctm/ctm.c Modified: trunk/rosapps/sysutils/tlist/tlist.c Modified: trunk/rosapps/tests/apc/apc.c Modified: trunk/rosapps/tests/atomtest/atomtest.c Modified: trunk/rosapps/tests/diskspeed/diskspeed.c Modified: trunk/rosapps/tests/hivetest/hivetest.c Modified: trunk/rosapps/tests/isotest/isotest.c Modified: trunk/rosapps/tests/suspend/suspend.c Modified: trunk/rosapps/tests/terminate/terminate.c Modified: trunk/rosapps/tests/threadwait/threadwait.c _____
Modified: trunk/rosapps/sysutils/ctm/ctm.c --- trunk/rosapps/sysutils/ctm/ctm.c 2005-11-20 17:52:53 UTC (rev 19381) +++ trunk/rosapps/sysutils/ctm/ctm.c 2005-11-20 18:54:55 UTC (rev 19382) @@ -32,6 +32,7 @@
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows //headers +#define WIN32_NO_STATUS #include <windows.h>
#include <stdlib.h> _____
Modified: trunk/rosapps/sysutils/tlist/tlist.c --- trunk/rosapps/sysutils/tlist/tlist.c 2005-11-20 17:52:53 UTC (rev 19381) +++ trunk/rosapps/sysutils/tlist/tlist.c 2005-11-20 18:54:55 UTC (rev 19382) @@ -5,6 +5,7 @@
* 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> _____
Modified: trunk/rosapps/tests/apc/apc.c --- trunk/rosapps/tests/apc/apc.c 2005-11-20 17:52:53 UTC (rev 19381) +++ trunk/rosapps/tests/apc/apc.c 2005-11-20 18:54:55 UTC (rev 19382) @@ -1,5 +1,6 @@
#include <stdio.h> #include <string.h> +#define WIN32_NO_STATUS #include <windows.h> #define NTOS_MODE_USER #include <ndk/ntndk.h> _____
Modified: trunk/rosapps/tests/atomtest/atomtest.c --- trunk/rosapps/tests/atomtest/atomtest.c 2005-11-20 17:52:53 UTC (rev 19381) +++ trunk/rosapps/tests/atomtest/atomtest.c 2005-11-20 18:54:55 UTC (rev 19382) @@ -1,5 +1,6 @@
#include <stdio.h> #include <string.h> +#define WIN32_NO_STATUS #include <windows.h> #define NTOS_MODE_USER #include <ndk/ntndk.h> _____
Modified: trunk/rosapps/tests/diskspeed/diskspeed.c --- trunk/rosapps/tests/diskspeed/diskspeed.c 2005-11-20 17:52:53 UTC (rev 19381) +++ trunk/rosapps/tests/diskspeed/diskspeed.c 2005-11-20 18:54:55 UTC (rev 19382) @@ -10,7 +10,7 @@
#include <stdio.h> #include <stdlib.h> - +#define WIN32_NO_STATUS #include <windows.h> #define NTOS_MODE_USER #include <ndk/ntndk.h> _____
Modified: trunk/rosapps/tests/hivetest/hivetest.c --- trunk/rosapps/tests/hivetest/hivetest.c 2005-11-20 17:52:53 UTC (rev 19381) +++ trunk/rosapps/tests/hivetest/hivetest.c 2005-11-20 18:54:55 UTC (rev 19382) @@ -1,7 +1,7 @@
#include <stdarg.h> #include <string.h> #include <stdio.h> - +#define WIN32_NO_STATUS #include <windows.h> #define NTOS_MODE_USER #include <ndk/ntndk.h> _____
Modified: trunk/rosapps/tests/isotest/isotest.c --- trunk/rosapps/tests/isotest/isotest.c 2005-11-20 17:52:53 UTC (rev 19381) +++ trunk/rosapps/tests/isotest/isotest.c 2005-11-20 18:54:55 UTC (rev 19382) @@ -2,6 +2,7 @@
* isotest - display cdrom information */
+#define WIN32_NO_STATUS #include <windows.h> #define NTOS_MODE_USER #include <ndk/ntndk.h> _____
Modified: trunk/rosapps/tests/suspend/suspend.c --- trunk/rosapps/tests/suspend/suspend.c 2005-11-20 17:52:53 UTC (rev 19381) +++ trunk/rosapps/tests/suspend/suspend.c 2005-11-20 18:54:55 UTC (rev 19382) @@ -1,5 +1,5 @@
#define UNICODE - +#define WIN32_NO_STATUS #include <windows.h> #include <stdio.h> #define NTOS_MODE_USER _____
Modified: trunk/rosapps/tests/terminate/terminate.c --- trunk/rosapps/tests/terminate/terminate.c 2005-11-20 17:52:53 UTC (rev 19381) +++ trunk/rosapps/tests/terminate/terminate.c 2005-11-20 18:54:55 UTC (rev 19382) @@ -1,5 +1,5 @@
#define UNICODE - +#define WIN32_NO_STATUS #include <windows.h> #include <stdio.h> #define NTOS_MODE_USER _____
Modified: trunk/rosapps/tests/threadwait/threadwait.c --- trunk/rosapps/tests/threadwait/threadwait.c 2005-11-20 17:52:53 UTC (rev 19381) +++ trunk/rosapps/tests/threadwait/threadwait.c 2005-11-20 18:54:55 UTC (rev 19382) @@ -4,6 +4,7 @@
* Purpose: Probe for PsUnblockThread crash due to double-acquire spin lock. */
+#define WIN32_NO_STATUS #include <windows.h> #include <stdio.h>