Mesa (master): mesa: remove expf macro

Brian Paul brianp at kemper.freedesktop.org
Tue Feb 24 21:49:46 UTC 2015


Module: Mesa
Branch: master
Commit: bdd0402ca3400328b38a8cf02b501852a037b957
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bdd0402ca3400328b38a8cf02b501852a037b957

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Feb 24 09:32:27 2015 -0700

mesa: remove expf macro

Reviewed-by: Matt Turner <mattst88 at gmail.com>

---

 src/mesa/main/imports.h |    1 -
 1 file changed, 1 deletion(-)

diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index ae89d59..5e40bd0 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -98,7 +98,6 @@ typedef union { GLfloat f; GLint i; GLuint u; } fi_type;
    && (!defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L)) \
    && (!defined(_MSC_VER) || (_MSC_VER < 1400))
 #define ceilf(f) ((float) ceil(f))
-#define expf(f) ((float) exp(f))
 #define floorf(f) ((float) floor(f))
 
 #define sqrtf(f) ((float) sqrt(f))




More information about the mesa-commit mailing list