check if __mips or _MIPS_ARCH is defined to set IEEE_ONE (bug 1003026)
authorBrian Paul <brian.paul@tungstengraphics.com>
Sun, 22 Aug 2004 16:57:40 +0000 (16:57 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sun, 22 Aug 2004 16:57:40 +0000 (16:57 +0000)
src/mesa/main/imports.h

index f4d8f7787bc48183f9a182be140d91b8d269b60c..bc2cc8bc8b9091ab83585da32b5adbb0532836ff 100644 (file)
@@ -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