Mesa (master): mesa: remove ceilf, floorf macros

Brian Paul brianp at kemper.freedesktop.org
Tue Feb 24 21:49:46 UTC 2015


Module: Mesa
Branch: master
Commit: bbb2d8403256dd16fb55b4059f396c42cdc5008c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bbb2d8403256dd16fb55b4059f396c42cdc5008c

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Feb 24 09:33:41 2015 -0700

mesa: remove ceilf, floorf macros

Reviewed-by: Matt Turner <mattst88 at gmail.com>

---

 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




More information about the mesa-commit mailing list