Commit 84e1b0a9 authored by cremno's avatar cremno

upcoming Visual Studio versions provide `snprintf`

parent 8a9e2066
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment