Commit ac2754b7 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Make winnt.h C++ compatible.

parent 590c4020
...@@ -30,6 +30,11 @@ ...@@ -30,6 +30,11 @@
#include <string.h> #include <string.h>
#endif #endif
#ifdef __cplusplus
extern "C" {
#endif
#define NTAPI __stdcall #define NTAPI __stdcall
#if (defined(_M_IX86) || defined(_M_IA64) || defined(_M_AMD64) || defined(__MINGW32__)) && !defined(MIDL_PASS) #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); ...@@ -4785,4 +4790,8 @@ ULONGLONG WINAPI VerSetConditionMask(ULONGLONG,DWORD,BYTE);
#define VER_AND 6 #define VER_AND 6
#define VER_OR 7 #define VER_OR 7
#ifdef __cplusplus
}
#endif
#endif /* _WINNT_ */ #endif /* _WINNT_ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment