diff options
Diffstat (limited to 'src/mesa/main/imports.h')
-rw-r--r-- | src/mesa/main/imports.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h index df0d6d771d..93be82382c 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) |