mesa: move FLT_MAX_EXP to c99_math.h
authorBrian Paul <brianp@vmware.com>
Thu, 26 Feb 2015 18:35:10 +0000 (11:35 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 28 Feb 2015 20:39:57 +0000 (13:39 -0700)
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
include/c99_math.h
src/mesa/main/compiler.h

index 35173c68d1c0637c90961f392dc488672d1aae2d..0a49950cfc07bf25d5ba38995827f06760d805c3 100644 (file)
@@ -156,5 +156,9 @@ llrintf(float f)
 #define M_LOG2E (1.4426950408889634074)
 #endif
 
+#ifndef FLT_MAX_EXP
+#define FLT_MAX_EXP 128
+#endif
+
 
 #endif /* #define _C99_MATH_H_ */
index 833d233bf6674dd3d75a989e68fa3f8c540b7c48..c2e3b390ebf1b1ebb0a6b8e8badef4fb3f40d9fa 100644 (file)
@@ -188,10 +188,6 @@ static inline GLuint CPU_TO_LE32(GLuint x)
 # define LONGSTRING __extension__
 #endif
 
-#ifndef FLT_MAX_EXP
-#define FLT_MAX_EXP 128
-#endif
-
 #define IEEE_ONE 0x3f800000
 
 #ifndef Elements