diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2000-01-31 23:33:53 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2000-01-31 23:33:53 +0000 |
commit | 075398b8795a014ec9852ae7f13db1e1cc0e15d5 (patch) | |
tree | 0ccc3dc3663fae43f2c99701d4aed2b344024d3e | |
parent | 9560f05deffaf0321bba1bd0fcc8eeef4199e6e0 (diff) |
defined FLT_MIN if undefined
-rw-r--r-- | src/mesa/main/light.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/main/light.c b/src/mesa/main/light.c index d8cfd20bde..a6696b1e1a 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 ) |