3 --- ../Mesa-7.0.4/src/mesa/main/imports.h.orig 2008-06-24 14:27:44.000000000 -0400
4 +++ ../Mesa-7.0.4/src/mesa/main/imports.h
5 @@ -292,7 +292,7 @@ static INLINE int GET_FLOAT_BITS( float
6 *** LDEXPF: multiply value by an integral power of two
7 *** FREXPF: extract mantissa and exponent from value
9 -#if defined(__gnu_linux__)
10 +#if defined(USE_NATIVE_LIBM_FUNCS)
12 #define CEILF(x) ceilf(x)
13 #define FLOORF(x) floorf(x)
14 @@ -515,7 +515,9 @@ static INLINE int iceil(float f)
15 /* Hardware default: All exceptions masked, extended double precision,
16 * round to nearest (IEEE compliant):
18 +#ifndef DEFAULT_X86_FPU
19 #define DEFAULT_X86_FPU 0x037f
21 /* All exceptions masked, single precision, round to nearest:
23 #define FAST_X86_FPU 0x003f