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

@ -63,7 +63,7 @@
#include <string.h>
#if defined(linux) && \
(defined(__alpha__) || defined(__powerpc__) || defined(__ia64__) \
|| defined(__amd64__))
|| defined(__amd64__) || defined(__x86_64__))
#include <malloc.h>
#endif
#include <stdarg.h>