[Mesa-dev] [PATCH 11/12] mesa: remove ceilf, floorf macros
Brian Paul
brianp at vmware.com
Tue Feb 24 08:57:35 PST 2015
---
src/mesa/main/imports.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index 5e40bd0..da373b0 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -97,8 +97,6 @@ typedef union { GLfloat f; GLint i; GLuint u; } fi_type;
#if (!defined(_XOPEN_SOURCE) || (_XOPEN_SOURCE < 600)) && !defined(_ISOC99_SOURCE) \
&& (!defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L)) \
&& (!defined(_MSC_VER) || (_MSC_VER < 1400))
-#define ceilf(f) ((float) ceil(f))
-#define floorf(f) ((float) floor(f))
#define sqrtf(f) ((float) sqrt(f))
#endif
--
1.9.1
More information about the mesa-dev
mailing list