[PATCH] include: add the corresponding #define to #ifndef WIN32_NO_STATUS.

Zhang Shuai wxsxsdz at gmail.com
Thu Nov 21 17:02:55 CST 2019


Signed-off-by: Zhang Shuai <wxsxsdz at gmail.com>
---
 include/ntstatus.h | 1 +
 include/winnt.h    | 1 +
 2 files changed, 2 insertions(+)

diff --git a/include/ntstatus.h b/include/ntstatus.h
index a91ce97731..26b5039539 100644
--- a/include/ntstatus.h
+++ b/include/ntstatus.h
@@ -22,6 +22,7 @@
 #define __WINE_NTSTATUS_H
 
 #ifndef WIN32_NO_STATUS
+#define WIN32_NO_STATUS
 
 /*
  * Exception codes
diff --git a/include/winnt.h b/include/winnt.h
index d18b2e03b4..0a05f145f4 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -600,6 +600,7 @@ typedef DWORD FLONG;
 /* Defines */
 
 #ifndef WIN32_NO_STATUS
+#define WIN32_NO_STATUS
 
 #define STATUS_WAIT_0                    ((DWORD) 0x00000000)
 #define STATUS_ABANDONED_WAIT_0          ((DWORD) 0x00000080)
-- 
2.19.1




More information about the wine-devel mailing list