summaryrefslogtreecommitdiff
path: root/mi/micoord.h
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2008-04-12 20:39:18 +0200
committerJulien Cristau <jcristau@debian.org>2008-04-12 20:39:18 +0200
commit1fa4de80fcfc697b5e5879cc351fb3e9dbf6acbe (patch)
tree8bf396975c0bb53c314e10e40122871a7956717f /mi/micoord.h
parentb1f3f42840ec01db417345a0740b59ad5e4471cb (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 'mi/micoord.h')
-rw-r--r--mi/micoord.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mi/micoord.h b/mi/micoord.h
index 16d086117..876e88c95 100644
--- a/mi/micoord.h
+++ b/mi/micoord.h
@@ -48,7 +48,7 @@
defined(__alpha) || defined(__alpha__) || \
defined(__i386__) || defined(__i386) || defined(__ia64__) || \
defined(__s390x__) || defined(__s390__) || \
- defined(__amd64__) || defined(amd64) || defined(__amd64)
+ defined(__amd64__) || defined(amd64) || defined(__amd64) || defined(__x86_64__)
#define GetHighWord(x) (((int) (x)) >> 16)
#else
#define GetHighWord(x) (((int) (x)) / 65536)