diff options
author | Adam Jackson <ajax@redhat.com> | 2008-06-24 14:37:06 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-06-24 14:37:06 -0400 |
commit | 9719354ae04a41e9834ac9ba8fd9e895092ba4f1 (patch) | |
tree | 3925ed7d809d796a81dd849dd4fefb0f20e1d152 /hw/xfree86/common/compiler.h | |
parent | 249c892784ca5e8c75863dd82097ca2bedec4723 (diff) |
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 'hw/xfree86/common/compiler.h')
-rw-r--r-- | hw/xfree86/common/compiler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/common/compiler.h b/hw/xfree86/common/compiler.h index 9e7f8219d..a20baa3e4 100644 --- a/hw/xfree86/common/compiler.h +++ b/hw/xfree86/common/compiler.h @@ -498,7 +498,7 @@ extern unsigned int inb(unsigned long port); extern unsigned int inw(unsigned long port); extern unsigned int inl(unsigned long port); -# elif defined(linux) && (defined(__amd64__) || defined(__x86_64__)) +# elif defined(linux) && defined(__amd64__) # include <inttypes.h> |