upcoming Visual Studio versions provide snprintf

This commit is contained in:
cremno
2014-06-04 06:02:10 +02:00
parent 8a9e2066c3
commit 84e1b0a9d0
+3 -1
View File
@@ -70,7 +70,9 @@ typedef short mrb_sym;
# ifndef __cplusplus
# define inline __inline
# endif
# define snprintf _snprintf
# if _MSC_VER < 1900
# define snprintf _snprintf
# endif
# if _MSC_VER < 1800
# include <float.h>
# define isfinite(n) _finite(n)