diff options
author | Matt Turner <mattst88@gmail.com> | 2008-04-12 20:39:18 +0200 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2008-04-12 20:39:18 +0200 |
commit | 1fa4de80fcfc697b5e5879cc351fb3e9dbf6acbe (patch) | |
tree | 8bf396975c0bb53c314e10e40122871a7956717f /hw/xfree86/utils/xorgcfg/loadmod.c | |
parent | b1f3f42840ec01db417345a0740b59ad5e4471cb (diff) |
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__.
Diffstat (limited to 'hw/xfree86/utils/xorgcfg/loadmod.c')
-rw-r--r-- | hw/xfree86/utils/xorgcfg/loadmod.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/xfree86/utils/xorgcfg/loadmod.c b/hw/xfree86/utils/xorgcfg/loadmod.c index 1207820ce..629dfe118 100644 --- a/hw/xfree86/utils/xorgcfg/loadmod.c +++ b/hw/xfree86/utils/xorgcfg/loadmod.c @@ -179,7 +179,9 @@ LOOKUP xfree86LookupTab[] = { SYMFUNC(xf86memchr) SYMFUNC(xf86memcmp) SYMFUNC(xf86memcpy) -#if (defined(__powerpc__) && (defined(Lynx) || defined(linux))) || defined(__sparc__) || defined(__sparc) || defined(__ia64__) || defined (__amd64__) +#if (defined(__powerpc__) && (defined(Lynx) || defined(linux))) || \ + defined(__sparc__) || defined(__sparc) || defined(__ia64__) || \ + defined (__amd64__) || defined(__x86_64__) /* * Some PPC, SPARC, and IA64 compilers generate calls to memcpy to handle * structure copies. This causes a problem both here and in shared |