[Mesa-dev] [PATCH 2/7] mesa: move FLT_MAX_EXP to c99_math.h
Brian Paul
brianp at vmware.com
Fri Feb 27 16:47:50 PST 2015
---
include/c99_math.h | 4 ++++
src/mesa/main/compiler.h | 4 ----
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/c99_math.h b/include/c99_math.h
index 35173c6..0a49950 100644
--- a/include/c99_math.h
+++ b/include/c99_math.h
@@ -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_ */
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index 231dee7..cb1ea46 100644
--- a/src/mesa/main/compiler.h
+++ b/src/mesa/main/compiler.h
@@ -196,10 +196,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
--
1.9.1
More information about the mesa-dev
mailing list