vm.c, codedump.c: undef CASE macro

Add #undef CASE at end of files to prevent macro redefinition
warnings in amalgamation builds.

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Yukihiro "Matz" Matsumoto
2026-01-01 12:35:09 +09:00
parent d1178ec8eb
commit a263c43adb
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -648,3 +648,4 @@ mrb_codedump_all(mrb_state *mrb, struct RProc *proc)
mrb_codedump_all_file(mrb, proc, stdout);
#endif
}
#undef CASE
+1
View File
@@ -3448,3 +3448,4 @@ mrb_top_run(mrb_state *mrb, const struct RProc *proc, mrb_value self, mrb_int st
}
return mrb_vm_run(mrb, proc, self, stack_keep);
}
#undef CASE