From 61d344ebba65aa35fef9b0bec92be98469b71f71 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 26 Feb 2015 11:35:10 -0700 Subject: mesa: move FLT_MAX_EXP to c99_math.h Reviewed-by: Ian Romanick --- include/c99_math.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/c99_math.h b/include/c99_math.h index 35173c68d1c..0a49950cfc0 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_ */ -- cgit v1.2.3