includes: Add win64 calling convention.

oldstable
Maarten Lankhorst 2008-11-25 09:09:47 +01:00 committed by Alexandre Julliard
parent 8355eeaa21
commit 6a704d6f72
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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