Skip to content

Commit

Permalink
disable define const on VS
Browse files Browse the repository at this point in the history
  • 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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c27dbfe

Please sign in to comment.