From f4e46e1a463be580d14d1b14fe1b9c85d4572e61 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 13 Jul 2006 20:21:44 +0000 Subject: define FLT_MAX_EXP to 128 if undefined --- src/mesa/main/imports.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/imports.h') 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 -- cgit v1.2.3