diff options
author | Brian Paul <[email protected]> | 2015-02-26 11:35:10 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-02-28 13:39:57 -0700 |
commit | 61d344ebba65aa35fef9b0bec92be98469b71f71 (patch) | |
tree | 408c1611f74bb5bc281a4dabc74355db720f93be | |
parent | 20dc94ba3c7306f9e89cc8bf02fb2431418d48d4 (diff) |
mesa: move FLT_MAX_EXP to c99_math.h
Reviewed-by: Ian Romanick <[email protected]>
-rw-r--r-- | include/c99_math.h | 4 | ||||
-rw-r--r-- | 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 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_ */ diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h index 833d233bf66..c2e3b390ebf 100644 --- a/src/mesa/main/compiler.h +++ b/src/mesa/main/compiler.h @@ -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 |