disable define const on VS

This commit is contained in:
Yasuhiro Matsumoto
2016-12-08 15:56:50 +09:00
parent eda6c1dc05
commit c27dbfedf4
+1 -1
View File
@@ -2773,7 +2773,7 @@ mrb_init_string(mrb_state *mrb)
#ifndef __STDC__
# ifdef __GNUC__
# define const __const__
# else
# elif !defined(_MSC_VER)
# define const
# endif
#endif