Commit 6a704d6f authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

includes: Add win64 calling convention.

parent 8355eeaa
......@@ -41,9 +41,11 @@ typedef unsigned short wchar_t;
# else
# error You need to define __stdcall for your compiler
# endif
# else /* __i386__ */
# elif defined(__x86_64__) && defined (__GNUC__)
# define __stdcall __attribute__((ms_abi))
# else
# define __stdcall
# endif /* __i386__ */
# endif
#endif /* __stdcall */
#ifdef __cplusplus
......
......@@ -62,6 +62,8 @@ extern "C" {
# else
# error You need to define __stdcall for your compiler
# endif
# elif defined(__x86_64__) && defined (__GNUC__)
# define __stdcall __attribute__((ms_abi))
# else /* __i386__ */
# define __stdcall
# endif /* __i386__ */
......@@ -74,6 +76,8 @@ extern "C" {
# else
# define __cdecl __attribute__((__cdecl__))
# endif
# elif defined(__x86_64__) && defined (__GNUC__)
# define __cdecl __attribute__((ms_abi))
# elif !defined(_MSC_VER)
# define __cdecl
# endif
......
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