Allow MSVC to use Wine's headers.
This commit is contained in:
parent
0eddf4341f
commit
1ae16a5160
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue