only use __x86_64__, not __amd64__ (bug 15503)

This commit is contained in:
Brian Paul
2008-04-14 14:10:32 -06:00
parent 8fd2b7d9dd
commit 118c2bc860
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -401,7 +401,7 @@ struct sis_context
#define MMIO_READ(reg) *(volatile GLint *)(smesa->IOBase + (reg))
#define MMIO_READf(reg) *(volatile GLfloat *)(smesa->IOBase + (reg))
#if defined(__i386__) || defined(__amd64__)
#if defined(__i386__) || defined(__x86_64__)
#define MMIO_WMB() __asm __volatile("" : : : "memory")
#elif defined(__ia64__)
#define MMIO_WMB() __asm __volatile("mf" : : : "memory")
+1 -1
View File
@@ -159,7 +159,7 @@ typedef union { GLfloat f; GLint i; } fi_type;
***/
#if defined(__i386__) || defined(__386__) || defined(__sparc__) || \
defined(__s390x__) || defined(__powerpc__) || \
defined(__amd64__) || defined(__x86_64__) || \
defined(__x86_64__) || \
defined(ia64) || defined(__ia64__) || \
defined(__hppa__) || defined(hpux) || \
defined(__mips) || defined(_MIPS_ARCH) || \
+1 -1
View File
@@ -185,7 +185,7 @@ extern char *mesa_profile;
#endif
#elif defined(__amd64__)
#elif defined(__x86_64__)
#define rdtscll(val) do { \
unsigned int a,d; \