diff options
author | Adam Jackson <ajax@redhat.com> | 2008-06-24 14:37:06 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-06-24 14:37:06 -0400 |
commit | 9719354ae04a41e9834ac9ba8fd9e895092ba4f1 (patch) | |
tree | 3925ed7d809d796a81dd849dd4fefb0f20e1d152 /hw/xfree86/common/xf86AutoConfig.c | |
parent | 249c892784ca5e8c75863dd82097ca2bedec4723 (diff) |
Check for __amd64__, not __x86_64__.
Spiritual revert of 1fa4de80fcfc697b5e5879cc351fb3e9dbf6acbe. Intel's C
compiler claims to be gcc-compatible; if they're not defining the same
macros as gcc then that's their bug, not ours. Even if we were to do
this aliasing we should do it once and for all in servermd.h.
Diffstat (limited to 'hw/xfree86/common/xf86AutoConfig.c')
-rw-r--r-- | hw/xfree86/common/xf86AutoConfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/common/xf86AutoConfig.c b/hw/xfree86/common/xf86AutoConfig.c index 7e5fab412..a786eed3e 100644 --- a/hw/xfree86/common/xf86AutoConfig.c +++ b/hw/xfree86/common/xf86AutoConfig.c @@ -454,7 +454,7 @@ chooseVideoDriver(void) if (info != NULL) chosen_driver = videoPtrToDriverName(info); if (chosen_driver == NULL) { -#if defined __i386__ || defined __amd64__ || defined __x86_64__ || defined __hurd__ +#if defined __i386__ || defined __amd64__ || defined __hurd__ chosen_driver = "vesa"; #elif defined __sparc__ chosen_driver = "sunffb"; |