- Move the amd64 check before the i386 one, and also check for __i386__

svn path=/trunk/; revision=47744
This commit is contained in:
Amine Khaldi 2010-06-10 20:31:21 +00:00
parent ae1afc8ba7
commit a47afb4b46
2 changed files with 6 additions and 6 deletions

View file

@ -26,10 +26,10 @@
#if !defined(_X86_) && !defined(_AMD64) && !defined(_IA64_) && !defined(_ALPHA_) && \
!defined(_ARM_) && !defined(_PPC_) && !defined(_MIPS_) && !defined(_68K_)
#if defined(_M_IX86)
#define _X86_
#elif defined(_M_AMD64) || defined(__x86_64__)
#if defined(_M_AMD64) || defined(__x86_64__)
#define _AMD64_
#elif defined(_M_IX86) || defined(__i386__)
#define _X86_
#elif defined(_M_IA64) || defined(__ia64__)
#define _IA64_
#elif defined(_M_ALPHA) || defined(__alpha__)

View file

@ -20,10 +20,10 @@
#if !defined(_X86_) && !defined(_AMD64) && !defined(_IA64_) && !defined(_ALPHA_) && \
!defined(_ARM_) && !defined(_PPC_) && !defined(_MIPS_) && !defined(_68K_)
#if defined(_M_IX86)
#define _X86_
#elif defined(_M_AMD64) || defined(__x86_64__)
#if defined(_M_AMD64) || defined(__x86_64__)
#define _AMD64_
#elif defined(_M_IX86) || defined(__i386__)
#define _X86_
#elif defined(_M_IA64) || defined(__ia64__)
#define _IA64_
#elif defined(_M_ALPHA) || defined(__alpha__)