3 --- third_party/mesa/MesaLib/src/mesa/main/imports.h.orig 2011-04-13 08:01:23.000000000 +0000
4 +++ third_party/mesa/MesaLib/src/mesa/main/imports.h
5 @@ -131,6 +131,7 @@ typedef union { GLfloat f; GLint i; } fi
6 #define cosf(f) ((float) cos(f))
7 #define coshf(f) ((float) cosh(f))
8 #define expf(f) ((float) exp(f))
9 +#define exp2(f) exp((f) * 0.693147180559945)
10 #define exp2f(f) ((float) exp2(f))
11 #define floorf(f) ((float) floor(f))
12 #define logf(f) ((float) log(f))