summaryrefslogtreecommitdiffhomepage
path: root/include/mrbconf.h
diff options
context:
space:
mode:
authorRyan Scott <[email protected]>2013-05-11 23:32:49 +1000
committerRyan Scott <[email protected]>2013-05-11 23:32:49 +1000
commit37e3643f8f048d8387419a43abc51236eadbeb1e (patch)
tree748b0fed5fdc5165404161cc4e5ae4079da32050 /include/mrbconf.h
parentb7a24de37727c0f3d10fb640eb9ebe36e3aed0f2 (diff)
downloadmruby-37e3643f8f048d8387419a43abc51236eadbeb1e.tar.gz
mruby-37e3643f8f048d8387419a43abc51236eadbeb1e.zip
Potential fix for 'inline' macro redefinition error - VS2012 C++
Diffstat (limited to 'include/mrbconf.h')
-rw-r--r--include/mrbconf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h
index 72bae93f6..2b9cc5e60 100644
--- a/include/mrbconf.h
+++ b/include/mrbconf.h
@@ -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