From 1ae16a51606c451173426c91a2b70f450eac2bee Mon Sep 17 00:00:00 2001 From: Dimi Paun Date: Tue, 4 Oct 2005 11:30:27 +0000 Subject: [PATCH] Allow MSVC to use Wine's headers. --- include/windef.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/windef.h b/include/windef.h index 5a8fa100c37..9b60b436772 100644 --- a/include/windef.h +++ b/include/windef.h @@ -41,6 +41,10 @@ extern "C" { # define _X86_ #endif +#if defined(_X86_) && !defined(__i386__) +# define __i386__ +#endif + #ifdef __x86_64__ #define _WIN64 #endif @@ -126,6 +130,10 @@ extern "C" { # endif #endif +#ifdef _MSC_VER +# define inline __inline +#endif + #define CALLBACK __stdcall #define WINAPI __stdcall #define APIPRIVATE __stdcall