Make winnt.h C++ compatible!
Francois Gouget
fgouget at free.fr
Fri Feb 9 05:22:34 CST 2007
---
include/winnt.h | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/include/winnt.h b/include/winnt.h
index 6d3022b..ff896c9 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -30,6 +30,11 @@
#include <string.h>
#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define NTAPI __stdcall
#if (defined(_M_IX86) || defined(_M_IA64) || defined(_M_AMD64) || defined(__MINGW32__)) && !defined(MIDL_PASS)
@@ -4785,4 +4790,8 @@ ULONGLONG WINAPI VerSetConditionMask(ULONGLONG,DWORD,BYTE);
#define VER_AND 6
#define VER_OR 7
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _WINNT_ */
--
1.4.4.3
More information about the wine-patches
mailing list