mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Potential fix for 'inline' macro redefinition error - VS2012 C++
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user