projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2322404
)
mesa: Recent versions of MSVC define the single precision functions already.
author
José Fonseca
<jfonseca@vmware.com>
Sat, 14 Aug 2010 12:10:24 +0000
(13:10 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Sat, 14 Aug 2010 12:10:24 +0000
(13:10 +0100)
src/mesa/main/imports.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/imports.h
b/src/mesa/main/imports.h
index 42eba33d25871ab1e4ffcb3f5a7cdca9a40eaa4f..a439370bc4c39686681c1a9a49fc3af900db64b7 100644
(file)
--- a/
src/mesa/main/imports.h
+++ b/
src/mesa/main/imports.h
@@
-121,7
+121,8
@@
typedef union { GLfloat f; GLint i; } fi_type;
*/
/*@{*/
#if (_XOPEN_SOURCE < 600) && !defined(_ISOC99_SOURCE) \
- && (!defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L))
+ && (!defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L)) \
+ && (!defined(_MSC_VER) || (_MSC_VER < 1400))
#define acosf(f) ((float) acos(f))
#define asinf(f) ((float) asin(f))
#define atan2f(x,y) ((float) atan2(x,y))