Potential fix for 'inline' macro redefinition error - VS2012 C++

This commit is contained in:
Ryan Scott
2013-05-11 23:32:49 +10:00
parent b7a24de377
commit 37e3643f8f
+1
View File
@@ -116,6 +116,7 @@ typedef short mrb_sym;
#endif
#ifdef _MSC_VER
# define _ALLOW_KEYWORD_MACROS
# include <float.h>
# define inline __inline
# define snprintf _snprintf