Adjust patches for ruby4_0

This commit is contained in:
Mamoru TASAKA 2025-11-08 23:52:12 +09:00
commit 9a38d4fa8f
3 changed files with 6 additions and 3 deletions

View file

@ -8,4 +8,4 @@
+$CFLAGS = "#{$CFLAGS} " + case RUBY_VERSION
when /^1\.9/; '-DRUBY19'
when /^2\./; '-DRUBY19'
when /^3\./; '-DRUBY19 -DRUBY30'
when /^[34]\./; '-DRUBY19 -DRUBY30'