Commit 86f0912b authored by Atsushi_Morimoto's avatar Atsushi_Morimoto

fix build error when ENABLE_DEBUG is defined

parent 11b0dda6
...@@ -513,7 +513,7 @@ argnum_error(mrb_state *mrb, int num) ...@@ -513,7 +513,7 @@ argnum_error(mrb_state *mrb, int num)
} }
#ifdef ENABLE_DEBUG #ifdef ENABLE_DEBUG
#define CODE_FETCH_HOOK(mrb, irep, pc, regs) ((mrb)->code_fetch_hook ? (mrb)->code_fetch_hook((mrb), (irep), (pc), (regs)) : NULL) #define CODE_FETCH_HOOK(mrb, irep, pc, regs) if ((mrb)->code_fetch_hook) (mrb)->code_fetch_hook((mrb), (irep), (pc), (regs));
#else #else
#define CODE_FETCH_HOOK(mrb, irep, pc, regs) #define CODE_FETCH_HOOK(mrb, irep, pc, regs)
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment