Mercurial Patch Queue for Windows System Libraries
Rev. | e77cb33f187d5ad50a65a3d89ee9485d926347bc |
---|---|
大小 | 994 字节 |
时间 | 2019-04-02 03:25:55 |
作者 | Keith Marshall |
Log Message | Handle w32api directory rename for 6.0-exp bookmark. |
# HG changeset patch
# Parent a97805db2eed4a032f75b833b6cc08f1d336d3d0
Make <ntsecpkg.h> header effectively self-contained.
diff --git a/wslapi/include/ntsecpkg.h b/wslapi/include/ntsecpkg.h
--- a/wslapi/include/ntsecpkg.h
+++ b/wslapi/include/ntsecpkg.h
@@ -1,18 +1,14 @@
#ifndef _NTSECPKG_H
#define _NTSECPKG_H
-#if __GNUC__ >=3
#pragma GCC system_header
-#endif
-#include "windef.h"
+#include "winbase.h"
#include "ntsecapi.h"
#include "security.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
+_BEGIN_C_DECLS
#define ISC_REQ_DELEGATE 1
#define ISC_REQ_MUTUAL_AUTH 2
#define ISC_REQ_REPLAY_DETECT 4
#define ISC_REQ_SEQUENCE_DETECT 8
@@ -423,9 +419,8 @@ typedef struct SECPKG_USER_FUNCTION_TABL
typedef NTSTATUS (NTAPI *SpLsaModeInitializeFn)(ULONG, PULONG,
PSECPKG_FUNCTION_TABLE *, PULONG);
typedef NTSTATUS (WINAPI *SpUserModeInitializeFn)(ULONG, PULONG,
PSECPKG_USER_FUNCTION_TABLE *, PULONG);
-#ifdef __cplusplus
-}
-#endif
+_END_C_DECLS
+
#endif /* _NTSECPKG_H */