From: Brian Paul Date: Tue, 24 Feb 2015 16:03:25 +0000 (-0700) Subject: mesa: remove unused CEILF macro X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b2c13534f7b38eed1c5b15d73e8171d3038765c7;p=mesa.git mesa: remove unused CEILF macro Reviewed-by: Matt Turner --- diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h index b7bb6e271ba..bcbcd0f3e27 100644 --- a/src/mesa/main/imports.h +++ b/src/mesa/main/imports.h @@ -204,17 +204,14 @@ static inline GLfloat LOG2(GLfloat x) /*** - *** CEILF: ceiling of float *** FLOORF: floor of float *** FABSF: absolute value of float ***/ #if defined(__gnu_linux__) /* C99 functions */ -#define CEILF(x) ceilf(x) #define FLOORF(x) floorf(x) #define FABSF(x) fabsf(x) #else -#define CEILF(x) ((GLfloat) ceil(x)) #define FLOORF(x) ((GLfloat) floor(x)) #define FABSF(x) ((GLfloat) fabs(x)) #endif