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

@ -449,7 +449,7 @@ chooseVideoDriver(void)
if (info != NULL)
chosen_driver = videoPtrToDriverName(info);
if (chosen_driver == NULL) {
#if defined __i386__ || defined __amd64__ || defined __hurd__
#if defined __i386__ || defined __amd64__ || defined __x86_64__ || defined __hurd__
chosen_driver = "vesa";
#elif defined __sparc__
chosen_driver = "sunffb";