diff options
| author | Yasuhiro Matsumoto <[email protected]> | 2016-12-08 15:56:50 +0900 |
|---|---|---|
| committer | Yasuhiro Matsumoto <[email protected]> | 2016-12-08 15:56:50 +0900 |
| commit | c27dbfedf4dbd95ef17c6ad2b84933088e56d2cd (patch) | |
| tree | af440f0e749b58bcfa9ca6d8a1fcbd827eccd3fe /src | |
| parent | eda6c1dc0550249b6e2d92c60aaa683d2b154eaf (diff) | |
| download | mruby-c27dbfedf4dbd95ef17c6ad2b84933088e56d2cd.tar.gz mruby-c27dbfedf4dbd95ef17c6ad2b84933088e56d2cd.zip | |
disable define const on VS
Diffstat (limited to 'src')
| -rw-r--r-- | src/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.c b/src/string.c index a9351619b..c921ca56d 100644 --- a/src/string.c +++ b/src/string.c @@ -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 |
