summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/compiler.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2015-02-24 16:44:53 -0700
committerBrian Paul <brianp@vmware.com>2015-02-26 08:38:38 -0700
commit6b06697b0da6940b6c709f9e66b1739e076f09d0 (patch)
tree4090c5c9ef59fa1ba41e9c0dc4ee1229da085a75 /src/mesa/main/compiler.h
parent6cb431c19c03e0582dc9552159b308ff9a5d2294 (diff)
downloadexternal_mesa3d-6b06697b0da6940b6c709f9e66b1739e076f09d0.zip
external_mesa3d-6b06697b0da6940b6c709f9e66b1739e076f09d0.tar.gz
external_mesa3d-6b06697b0da6940b6c709f9e66b1739e076f09d0.tar.bz2
mesa: remove M_PI, M_E, M_LOG2E macro definitions
Should be defined in math.h. If not, we can add them to c99_math.h Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/mesa/main/compiler.h')
-rw-r--r--src/mesa/main/compiler.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index 0884742..cf31ad1 100644
--- a/src/mesa/main/compiler.h
+++ b/src/mesa/main/compiler.h
@@ -217,19 +217,6 @@ static inline GLuint CPU_TO_LE32(GLuint x)
# define LONGSTRING __extension__
#endif
-
-#ifndef M_PI
-#define M_PI (3.14159265358979323846)
-#endif
-
-#ifndef M_E
-#define M_E (2.7182818284590452354)
-#endif
-
-#ifndef M_LOG2E
-#define M_LOG2E (1.4426950408889634074)
-#endif
-
#ifndef ONE_DIV_SQRT_LN2
#define ONE_DIV_SQRT_LN2 (1.201122408786449815)
#endif