Mercurial Patch Queue for Windows System Libraries
Rev. | e77cb33f187d5ad50a65a3d89ee9485d926347bc |
---|---|
大小 | 539 字节 |
时间 | 2019-04-02 03:25:55 |
作者 | Keith Marshall |
Log Message | Handle w32api directory rename for 6.0-exp bookmark. |
Make <ks.h> header effectively self-contained.
diff --git a/wslapi/include/ks.h b/wslapi/include/ks.h
--- a/wslapi/include/ks.h
+++ b/wslapi/include/ks.h
@@ -1,20 +1,17 @@
#ifndef _KS_H
#define _KS_H
-#if __GNUC__ >= 3
#pragma GCC system_header
-#endif
-#ifdef __cplusplus
-extern "C" {
-#endif
+#include <windef.h>
+
+_BEGIN_C_DECLS
/*--- DirectShow Reference - DirectShow Structures */
typedef struct {
ULONG Size;
ULONG Count;
} KSMULTIPLE_ITEM,*PKSMULTIPLE_ITEM;
-#ifdef __cplusplus
-}
+_END_C_DECLS
+
#endif
-#endif