diff options
author | Matt Turner <mattst88@gmail.com> | 2008-04-12 20:39:18 +0200 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2008-04-15 11:47:48 +1000 |
commit | db00d4a4dc3af66ff8a0613576a3e05cfd5245be (patch) | |
tree | 2b58ab8d8aab6a10ef239008086453a9b9841971 /include | |
parent | d2f44719336a800a3c9e7ba4c772f74615e91530 (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__.
(cherry picked from commit 1fa4de80fcfc697b5e5879cc351fb3e9dbf6acbe)
Diffstat (limited to 'include')
-rw-r--r-- | include/servermd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/servermd.h b/include/servermd.h index 2f511dabe..616841089 100644 --- a/include/servermd.h +++ b/include/servermd.h @@ -393,7 +393,7 @@ SOFTWARE. #endif /* ia64 */ -#if defined(__amd64__) || defined(amd64) || defined(__amd64) +#if defined(__amd64__) || defined(amd64) || defined(__amd64) || defined(__x86_64__) # define IMAGE_BYTE_ORDER LSBFirst # if defined(XF86MONOVGA) || defined(XF86VGA16) || defined(XF86MONO) |