summaryrefslogtreecommitdiffhomepage
path: root/include/mrbconf.h
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-05-09 08:49:38 +0900
committerYukihiro Matsumoto <[email protected]>2012-05-09 08:49:38 +0900
commitf4cf8ea423d8f9df1d341adba63d1416779aae8a (patch)
treeee89b697760d7b528d4767c4ccd1534dadf42bc0 /include/mrbconf.h
parent2e4e7f7cd15e8ccd6bc6bf8608e0f167f68e2a22 (diff)
downloadmruby-f4cf8ea423d8f9df1d341adba63d1416779aae8a.tar.gz
mruby-f4cf8ea423d8f9df1d341adba63d1416779aae8a.zip
partial VC support
Diffstat (limited to 'include/mrbconf.h')
-rw-r--r--include/mrbconf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h
index b21388f7a..4786d8194 100644
--- a/include/mrbconf.h
+++ b/include/mrbconf.h
@@ -42,4 +42,9 @@ typedef intptr_t mrb_sym;
# define TRUE 1
#endif
+#ifdef _MSC_VER
+# define inline __inline
+# define snprintf _snprintf
+#endif
+
#endif /* MRUBYCONF_H */