From 075398b8795a014ec9852ae7f13db1e1cc0e15d5 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 31 Jan 2000 23:33:53 +0000 Subject: [PATCH] defined FLT_MIN if undefined --- src/mesa/main/light.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mesa/main/light.c b/src/mesa/main/light.c index d8cfd20bde8..a6696b1e1ae 100644 --- a/src/mesa/main/light.c +++ b/src/mesa/main/light.c @@ -1,4 +1,4 @@ -/* $Id: light.c,v 1.11 2000/01/13 00:29:02 brianp Exp $ */ +/* $Id: light.c,v 1.12 2000/01/31 23:33:53 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -43,6 +43,11 @@ #endif +/* XXX this is a bit of a hack needed for compilation within XFree86 */ +#ifndef FLT_MIN +#define FLT_MIN 1e-37 +#endif + void _mesa_ShadeModel( GLenum mode ) -- 2.30.2