summaryrefslogtreecommitdiff
path: root/mi/micoord.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-06-24 14:37:06 -0400
committerAdam Jackson <ajax@redhat.com>2008-06-24 14:37:06 -0400
commit9719354ae04a41e9834ac9ba8fd9e895092ba4f1 (patch)
tree3925ed7d809d796a81dd849dd4fefb0f20e1d152 /mi/micoord.h
parent249c892784ca5e8c75863dd82097ca2bedec4723 (diff)
downloadxserver-9719354ae04a41e9834ac9ba8fd9e895092ba4f1.tar.gz
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 '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 876e88c95..16d086117 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(__x86_64__)
+ defined(__amd64__) || defined(amd64) || defined(__amd64)
#define GetHighWord(x) (((int) (x)) >> 16)
#else
#define GetHighWord(x) (((int) (x)) / 65536)