summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2015-02-26 11:35:10 -0700
committerBrian Paul <brianp@vmware.com>2015-02-28 13:39:57 -0700
commit61d344ebba65aa35fef9b0bec92be98469b71f71 (patch)
tree408c1611f74bb5bc281a4dabc74355db720f93be /include
parent20dc94ba3c7306f9e89cc8bf02fb2431418d48d4 (diff)
mesa: move FLT_MAX_EXP to c99_math.h
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/c99_math.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/c99_math.h b/include/c99_math.h
index 35173c68d1..0a49950cfc 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_ */