summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-02-24 09:31:34 -0700
committerBrian Paul <[email protected]>2015-02-24 14:44:19 -0700
commitcffedcf163f54ec4e2625bba07a63add722c7d55 (patch)
tree4727b0f331fa108caa483f89d52ebd545e71b813 /src
parentf5816d77e24850c53a9dbc4add0e87bf3031e00a (diff)
mesa: remove logf macro
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/imports.h1
-rw-r--r--src/mesa/swrast/s_aaline.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index 1a69fe73589..ae89d59f15f 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -100,7 +100,6 @@ typedef union { GLfloat f; GLint i; GLuint u; } fi_type;
#define ceilf(f) ((float) ceil(f))
#define expf(f) ((float) exp(f))
#define floorf(f) ((float) floor(f))
-#define logf(f) ((float) log(f))
#define sqrtf(f) ((float) sqrt(f))
#endif
diff --git a/src/mesa/swrast/s_aaline.c b/src/mesa/swrast/s_aaline.c
index 0add124d420..f3258e813a6 100644
--- a/src/mesa/swrast/s_aaline.c
+++ b/src/mesa/swrast/s_aaline.c
@@ -23,6 +23,7 @@
*/
+#include "c99_math.h"
#include "main/glheader.h"
#include "main/imports.h"
#include "main/macros.h"