Commit bd0e9db1 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #2358 from cremno/visual-studio-14-ctp-support

upcoming Visual Studio versions provide `snprintf`
parents 8a9e2066 84e1b0a9
......@@ -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