summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-08-22 16:57:40 +0000
committerBrian Paul <[email protected]>2004-08-22 16:57:40 +0000
commit370b47802ecd54a7830dbb6c22d78e9838170dfa (patch)
treecbbae8b6002dba8d3c6468f0369c0e469bf252f6
parent5f9c21ae6767b65ee51ba50a22feaee7feaa784b (diff)
check if __mips or _MIPS_ARCH is defined to set IEEE_ONE (bug 1003026)
-rw-r--r--src/mesa/main/imports.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index f4d8f7787bc..bc2cc8bc8b9 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -227,6 +227,7 @@ extern void _ext_mesa_free_pixelbuffer( void *pb );
defined(__AMD64__) || \
defined(ia64) || defined(__ia64__) || \
defined(__hppa__) || defined(hpux) || \
+ defined(__mips) || defined(_MIPS_ARCH) || \
(defined(__alpha__) && (defined(__IEEE_FLOAT) || !defined(VMS)))
#define USE_IEEE
#define IEEE_ONE 0x3f800000