[REACTOS]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 6 Jan 2013 23:50:52 +0000 (23:50 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 6 Jan 2013 23:50:52 +0000 (23:50 +0000)
I hope this solution will work *sigh*

svn path=/trunk/; revision=58137

reactos/include/reactos/debug.h

index a892371..c08b7df 100644 (file)
@@ -51,16 +51,18 @@ RtlAssert(
     PCHAR Message
 );
 
-#ifndef _NTDEF_ /* Guard against redefinition from ntdef.h */
-    #define __BCRYPT_H__ /* Hack for NDK - umtypes.h */
-    typedef _Return_type_success_(return >= 0) LONG NTSTATUS, *PNTSTATUS;
-#endif
+/*
+ * This is the definition of NTSTATUS, but renamed
+ * in order not to conflict with other ones.
+ */
+typedef _Return_type_success_(return >= 0) LONG DEBUG_NTSTATUS;
+
 __analysis_noreturn
 NTSYSAPI
 VOID
 NTAPI
 RtlRaiseStatus(
-    _In_ NTSTATUS Status
+    _In_ DEBUG_NTSTATUS Status
 );
 
 #endif /* !defined(_RTLFUNCS_H) && !defined(_NTDDK_) */