mesa: remove logf macro
authorBrian Paul <brianp@vmware.com>
Tue, 24 Feb 2015 16:31:34 +0000 (09:31 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 24 Feb 2015 21:44:19 +0000 (14:44 -0700)
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/main/imports.h
src/mesa/swrast/s_aaline.c

index 1a69fe735896a176f8ed4403ead5bed0fd5d52cd..ae89d59f15f5ff61f6ef564b1dd95cabbc374df7 100644 (file)
@@ -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
index 0add124d420c740cb83476913a699133e31ae21b..f3258e813a6b861a3fdaf832bb4c568f671601cc 100644 (file)
@@ -23,6 +23,7 @@
  */
 
 
+#include "c99_math.h"
 #include "main/glheader.h"
 #include "main/imports.h"
 #include "main/macros.h"