Check for __x86_64__ when we check for __amd64__

It seems Intel C Compiler neglects to define __amd64__, __amd64, or
amd64, but *does* define __x86_64__.
This commit is contained in:
Matt Turner 2008-04-12 20:39:18 +02:00 • committed by Julien Cristau
commit 1fa4de80fc
14 changed files with 19 additions and 17 deletions

View file

@ -246,7 +246,7 @@
# if !defined(__FreeBSD__) && !defined(linux)
# define ARCH_PCI_PCI_BRIDGE sparcPciPciBridge
# endif
#elif defined(__amd64__) || defined(__amd64)
#elif defined(__amd64__) || defined(__amd64) || defined(__x86_64__)
# if defined(linux)
# define ARCH_PCI_INIT linuxPciInit
# else