Francois Gouget : Make winnt.h C++ compatible.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Feb 9 08:22:11 CST 2007
Module: wine
Branch: master
Commit: ac2754b74d8b656b49040753dd5aa01703e93254
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ac2754b74d8b656b49040753dd5aa01703e93254
Author: Francois Gouget <fgouget at free.fr>
Date: Fri Feb 9 12:22:34 2007 +0100
Make winnt.h C++ compatible.
---
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(ULO
#define VER_AND 6
#define VER_OR 7
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _WINNT_ */
More information about the wine-cvs
mailing list