projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdd0402
)
mesa: remove ceilf, floorf macros
author
Brian Paul
<brianp@vmware.com>
Tue, 24 Feb 2015 16:33:41 +0000
(09:33 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 24 Feb 2015 21:44:19 +0000
(14:44 -0700)
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/main/imports.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/imports.h
b/src/mesa/main/imports.h
index 5e40bd0b0633f71349f88269d86b7e6a8c53b23a..da373b044306f94abcea6a6bd06fbf26ffa47975 100644
(file)
--- 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