diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-11-21 23:59:32 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-11-21 23:59:32 +0900 |
| commit | 049e749c8b12c79a7439ce0fdb402896807eb42b (patch) | |
| tree | f463c5ac01e1a32a6dea5b6868e2794f6b0479ef /src/state.c | |
| parent | 544784effd251656f7b406bc94880e1ef75af7b5 (diff) | |
| parent | 3d056d084aedd2a1a3a36e33b1cef4e90d282813 (diff) | |
| download | mruby-049e749c8b12c79a7439ce0fdb402896807eb42b.tar.gz mruby-049e749c8b12c79a7439ce0fdb402896807eb42b.zip | |
Merge pull request #5166 from shuujii/rename-MRB_ENABLE-DISABLE_-to-MRB_USE-NO_
Rename `MRB_{ENABLE,DISABLE}_` to `MRB_{USE,NO}_`; close #5163
Diffstat (limited to 'src/state.c')
| -rw-r--r-- | src/state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state.c b/src/state.c index aef9605bc..5da2675ac 100644 --- a/src/state.c +++ b/src/state.c @@ -77,7 +77,7 @@ mrb_open(void) return mrb; } -#ifndef DISABLE_GEMS +#ifndef MRB_NO_GEMS static void init_mrbgems(mrb_state *mrb, void *opaque) { @@ -94,7 +94,7 @@ mrb_open_allocf(mrb_allocf f, void *ud) return NULL; } -#ifndef DISABLE_GEMS +#ifndef MRB_NO_GEMS if (mrb_core_init_protect(mrb, init_mrbgems, NULL)) { mrb_close(mrb); return NULL; |
