Define the _X86_ macro on Intel processors.
This commit is contained in:
parent
a8edb3e461
commit
b4b8a823a4
|
@ -102,6 +102,9 @@ extern "C" {
|
|||
/* Calling conventions definitions */
|
||||
|
||||
#ifdef __i386__
|
||||
# ifndef _X86_
|
||||
# define _X86_
|
||||
# endif
|
||||
# if defined(__GNUC__) && ((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 7)))
|
||||
# define __stdcall __attribute__((__stdcall__))
|
||||
# define __cdecl __attribute__((__cdecl__))
|
||||
|
|
Loading…
Reference in New Issue