Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
disable define const on VS
  • Loading branch information
mattn committed Dec 8, 2016
1 parent eda6c1d commit c27dbfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/string.c
Expand Up @@ -2773,7 +2773,7 @@ mrb_init_string(mrb_state *mrb)
#ifndef __STDC__ #ifndef __STDC__
# ifdef __GNUC__ # ifdef __GNUC__
# define const __const__ # define const __const__
# else # elif !defined(_MSC_VER)
# define const # define const
# endif # endif
#endif #endif
Expand Down

0 comments on commit c27dbfe

Please sign in to comment.