disable defining ntstatus codes in windows.h/winnt.h when using ndk
[reactos.git] / rosapps / tests / atomtest / atomtest.c
index f71253d..740e13a 100644 (file)
@@ -1,7 +1,9 @@
 #include <stdio.h>
 #include <string.h>
+#define WIN32_NO_STATUS
 #include <windows.h>
-#include <ddk/ntddk.h>
+#define NTOS_MODE_USER
+#include <ndk/ntndk.h>
 
 #define BUFFER_SIZE 256