Allow MSVC to use Wine's headers.

This commit is contained in:
Dimi Paun 2005-10-04 11:30:27 +00:00 committed by Alexandre Julliard
parent 0eddf4341f
commit 1ae16a5160
1 changed files with 8 additions and 0 deletions

View File

@ -41,6 +41,10 @@ extern "C" {
# define _X86_ # define _X86_
#endif #endif
#if defined(_X86_) && !defined(__i386__)
# define __i386__
#endif
#ifdef __x86_64__ #ifdef __x86_64__
#define _WIN64 #define _WIN64
#endif #endif
@ -126,6 +130,10 @@ extern "C" {
# endif # endif
#endif #endif
#ifdef _MSC_VER
# define inline __inline
#endif
#define CALLBACK __stdcall #define CALLBACK __stdcall
#define WINAPI __stdcall #define WINAPI __stdcall
#define APIPRIVATE __stdcall #define APIPRIVATE __stdcall