Define the _X86_ macro on Intel processors.

This commit is contained in:
Francois Gouget 2000-05-23 04:07:15 +00:00 committed by Alexandre Julliard
parent a8edb3e461
commit b4b8a823a4
1 changed files with 3 additions and 0 deletions

View File

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