mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Use only DISABLE_GEMS for feature request in include/mrbconf.h
This commit is contained in:
+1
-1
@@ -66,7 +66,7 @@ mrb_init_core(mrb_state *mrb)
|
||||
mrb_init_math(mrb); DONE;
|
||||
#endif
|
||||
mrb_init_mrblib(mrb); DONE;
|
||||
#ifdef ENABLE_GEMS
|
||||
#ifndef DISABLE_GEMS
|
||||
mrb_init_mrbgems(mrb); DONE;
|
||||
#endif
|
||||
}
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ void
|
||||
mrb_init_mrbtest(mrb_state *mrb)
|
||||
{
|
||||
mrb_load_irep(mrb, mrbtest_irep);
|
||||
#ifdef ENABLE_GEMS
|
||||
#ifndef DISABLE_GEMS
|
||||
mrb_load_irep(mrb, mrbgemtest_irep);
|
||||
#endif
|
||||
if (mrb->exc) {
|
||||
|
||||
+1
-1
@@ -226,7 +226,7 @@ mrb_init_mrblib(mrb_state *mrb)
|
||||
{
|
||||
}
|
||||
|
||||
#ifdef ENABLE_GEMS
|
||||
#ifndef DISABLE_GEMS
|
||||
void
|
||||
mrb_init_mrbgems(mrb_state *mrb)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user