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 */
|
/* Calling conventions definitions */
|
||||||
|
|
||||||
#ifdef __i386__
|
#ifdef __i386__
|
||||||
|
# ifndef _X86_
|
||||||
|
# define _X86_
|
||||||
|
# endif
|
||||||
# if defined(__GNUC__) && ((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 7)))
|
# if defined(__GNUC__) && ((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 7)))
|
||||||
# define __stdcall __attribute__((__stdcall__))
|
# define __stdcall __attribute__((__stdcall__))
|
||||||
# define __cdecl __attribute__((__cdecl__))
|
# define __cdecl __attribute__((__cdecl__))
|
||||||
|
|
Loading…
Reference in New Issue