hash.c, symbol.c, string.c, mruby-string-ext: undef lesser macro

Add #undef lesser after last usage to prevent macro redefinition
warnings when files are amalgamated into a single translation unit.

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Yukihiro "Matz" Matsumoto
2026-01-01 10:23:21 +09:00
parent c7463af767
commit d1178ec8eb
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -1257,6 +1257,7 @@ mrb_str_cmp(mrb_state *mrb, mrb_value str1, mrb_value str2)
if (retval > 0) return 1;
return -1;
}
#undef lesser
/* 15.2.10.5.3 */