Mercurial Patch Queue for Windows System Libraries
Rev. | e77cb33f187d5ad50a65a3d89ee9485d926347bc |
---|---|
大小 | 405 字节 |
时间 | 2019-04-02 03:25:55 |
作者 | Keith Marshall |
Log Message | Handle w32api directory rename for 6.0-exp bookmark. |
Make <ntdef.h> header effectively self-contained.
diff --git a/wslapi/include/ntdef.h b/wslapi/include/ntdef.h
--- a/wslapi/include/ntdef.h
+++ b/wslapi/include/ntdef.h
@@ -1,10 +1,10 @@
#ifndef _NTDEF_H
#define _NTDEF_H
-#if __GNUC__ >=3
#pragma GCC system_header
-#endif
+
+#include <windef.h>
#define NTAPI __stdcall
#define OBJ_INHERIT 2L
#define OBJ_PERMANENT 16L
#define OBJ_EXCLUSIVE 32L