- Hack-include ntsecapi.h in powrprof.h, so NTSTATUS gets defined in an NDK-safe...
authorStefan Ginsberg <stefanginsberg@gmail.com>
Fri, 21 Nov 2008 21:31:01 +0000 (21:31 +0000)
committerStefan Ginsberg <stefanginsberg@gmail.com>
Fri, 21 Nov 2008 21:31:01 +0000 (21:31 +0000)
svn path=/trunk/; revision=37530

reactos/include/psdk/powrprof.h

index 7740a74..9b77800 100644 (file)
@@ -1,8 +1,10 @@
 #ifndef _POWRPROF_H
 #define _POWRPROF_H
-#if __GNUC__ >= 3
-#pragma GCC system_header
-#endif
+
+/* FIXME: Include this, so NTSTATUS gets defined. 
+   Not very clean, but I can't get the hacH^H^H^override used
+   by official PSDK to work. */
+#include <ntsecapi.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -16,9 +18,6 @@ extern "C" {
 #define NEWSCHEME (UINT)-1
 
 #ifndef RC_INVOKED
-#ifndef NTSTATUS
-typedef LONG NTSTATUS, *PNTSTATUS;
-#endif
 
 typedef struct _GLOBAL_MACHINE_POWER_POLICY{
    ULONG Revision;