fix macro redefinition when compiling with msvc
[reactos.git] / reactos / subsys / system / taskmgr / precomp.h
index f4d5e01..a1ad482 100644 (file)
@@ -1,6 +1,10 @@
-#define NTOS_MODE_USER
-#include <ntos.h>
+#ifndef __PRECOMP_H
+#define __PRECOMP_H
+
+#define WIN32_NO_STATUS
 #include <windows.h>
+#define NTOS_MODE_USER
+#include <ndk/ntndk.h>
 #include <commctrl.h>
 #include <shellapi.h>
 #include <stdlib.h>
@@ -28,3 +32,4 @@
 #include "priority.h"
 #include "run.h"
 #include "trayicon.h"
+#endif /* __PRECOMP_H */