Mercurial Patch Queue for Windows System Libraries
修訂. | e77cb33f187d5ad50a65a3d89ee9485d926347bc |
---|---|
大小 | 801 bytes |
時間 | 2019-04-02 03:25:55 |
作者 | Keith Marshall |
Log Message | Handle w32api directory rename for 6.0-exp bookmark. |
Make <oleacc.h> header effectively self-contained.
diff --git a/wslapi/include/oleacc.h b/wslapi/include/oleacc.h
--- a/wslapi/include/oleacc.h
+++ b/wslapi/include/oleacc.h
@@ -1,14 +1,12 @@
#ifndef _OLEACC_H
#define _OLEACC_H
-#if __GNUC__ >=3
#pragma GCC system_header
-#endif
-#ifdef __cplusplus
-extern "C" {
-#endif
+#include <oaidl.h>
+
+_BEGIN_C_DECLS
#define DISPID_ACC_PARENT (-5000)
#define DISPID_ACC_CHILDCOUNT (-5001)
#define DISPID_ACC_CHILD (-5002)
@@ -215,9 +213,8 @@ STDAPI WindowFromAccessibleObject(IAcces
#define CreateStdAccessibleProxy CreateStdAccessibleProxyA
#define GetRoleText GetRoleTextA
#define GetStateText GetStateTextA
#endif
-#ifdef __cplusplus
-}
-#endif
+_END_C_DECLS
+
#endif /* _OLEACC_H */