From: Brian Paul Date: Tue, 24 Feb 2015 23:44:53 +0000 (-0700) Subject: mesa: remove M_PI, M_E, M_LOG2E macro definitions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b06697b0da6940b6c709f9e66b1739e076f09d0;p=mesa.git 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 Reviewed-by: Jose Fonseca --- diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h index 0884742cc1b..cf31ad18778 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