From 99823b37443044fd0d96e75d52c747f0c77d1730 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 18 Sep 2003 16:18:43 +0000 Subject: Remove FLT_MIN definition to imports.h Assorted code clean-ups in light.c --- src/mesa/main/imports.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mesa/main/imports.h') diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h index df0d6d771de..93be82382cd 100644 --- a/src/mesa/main/imports.h +++ b/src/mesa/main/imports.h @@ -209,6 +209,11 @@ extern void _ext_mesa_free_pixelbuffer( void *pb ); #define M_PI (3.1415926536) #endif +/* XXX this is a bit of a hack needed for compilation within XFree86 */ +#ifndef FLT_MIN +#define FLT_MIN (1.0e-37) +#endif + /* Degrees to radians conversion: */ #define DEG2RAD (M_PI/180.0) -- cgit v1.2.3