Lines 64-70
Link Here
|
64 |
# error You need to define __stdcall for your compiler |
64 |
# error You need to define __stdcall for your compiler |
65 |
# endif |
65 |
# endif |
66 |
# elif defined(__x86_64__) && defined (__GNUC__) |
66 |
# elif defined(__x86_64__) && defined (__GNUC__) |
67 |
# if (__GNUC__ > 5) || ((__GNUC__ == 5) && (__GNUC_MINOR__ >= 3)) |
67 |
# if (__GNUC__ > 5) |
68 |
# define __stdcall __attribute__((ms_abi)) __attribute__((__force_align_arg_pointer__)) |
68 |
# define __stdcall __attribute__((ms_abi)) __attribute__((__force_align_arg_pointer__)) |
69 |
# else |
69 |
# else |
70 |
# define __stdcall __attribute__((ms_abi)) |
70 |
# define __stdcall __attribute__((ms_abi)) |
Lines 82-88
Link Here
|
82 |
# define __cdecl __attribute__((__cdecl__)) |
82 |
# define __cdecl __attribute__((__cdecl__)) |
83 |
# endif |
83 |
# endif |
84 |
# elif defined(__x86_64__) && defined (__GNUC__) |
84 |
# elif defined(__x86_64__) && defined (__GNUC__) |
85 |
# if (__GNUC__ > 5) || ((__GNUC__ == 5) && (__GNUC_MINOR__ >= 3)) |
85 |
# if (__GNUC__ > 5) |
86 |
# define __cdecl __attribute__((ms_abi)) __attribute__((__force_align_arg_pointer__)) |
86 |
# define __cdecl __attribute__((ms_abi)) __attribute__((__force_align_arg_pointer__)) |
87 |
# else |
87 |
# else |
88 |
# define __cdecl __attribute__((ms_abi)) |
88 |
# define __cdecl __attribute__((ms_abi)) |