includes: Add win64 calling convention.
This commit is contained in:
parent
8355eeaa21
commit
6a704d6f72
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue