projects
/
simgear.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
635f822
)
MSVC 12 still requires snprintf to be defined
author
Jasin Colegrove
<jasin@coleburt.com>
Wed, 1 Jun 2016 14:24:30 +0000
(10:24 -0400)
committer
Roland Haeder
<roland@mxchange.org>
Sat, 13 Aug 2016 08:21:16 +0000
(10:21 +0200)
simgear/compiler.h
patch
|
blob
|
history
diff --git
a/simgear/compiler.h
b/simgear/compiler.h
index ebaa7eb49c0104086a4e1e112f6120af56761f80..43e1c07d675273b27fd4780af3bd176a9476f89a 100644
(file)
--- a/
simgear/compiler.h
+++ b/
simgear/compiler.h
@@
-64,9
+64,11
@@
# define bcopy(from, to, n) memcpy(to, from, n)
# if _MSC_VER >= 1200 // msvc++ 6.0 up to MSVC2013
+# if _MSC_VER < 1900
+# define snprintf _snprintf
+# endif
# if _MSC_VER < 1800
# define isnan _isnan
-# define snprintf _snprintf
# endif
# if _MSC_VER < 1500
# define vsnprintf _vsnprintf