summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-07-13 20:21:44 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-07-13 20:21:44 +0000
commitf4e46e1a463be580d14d1b14fe1b9c85d4572e61 (patch)
tree03f2134fd95eda013f5de5e9a418d9e46b3c4ae0 /src/mesa
parent7ef4a07165d49e671f6f569ee87bfe893b1e7fcf (diff)
define FLT_MAX_EXP to 128 if undefined
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/imports.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index c807973b49..a17a0fd18c 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -1,6 +1,6 @@
/*
* Mesa 3-D graphics library
- * Version: 6.5
+ * Version: 6.5.1
*
* Copyright (C) 1999-2006 Brian Paul All Rights Reserved.
*
@@ -129,6 +129,9 @@ typedef union { GLfloat f; GLint i; } fi_type;
#define M_E (2.7182818284590452354)
#endif
+#ifndef FLT_MAX_EXP
+#define FLT_MAX_EXP 128
+#endif
/* XXX this is a bit of a hack needed for compilation within XFree86 */
#ifndef FLT_MIN