summarylogtreecommitdiffstats
path: root/ruby-2.x.patch
blob: a9083ec379d840061f67c7859eb4307789d74390 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
 diff --git a/ext/tuple/extconf.rb b/ext/tuple/extconf.rb
index ce4e688..3b2b1ac 100644
--- a/ext/tuple/extconf.rb
+++ b/ext/tuple/extconf.rb
@@ -8,7 +8,7 @@ when /\A1\.9/
 when /\A2\.(0|1)/
   $CFLAGS += ' -DRUBY_2_x_x'
   $CFLAGS += ' -DRUBY_2_1_x'
-when /\A2\.2/
+when /\A2\.(2|3|4)/
   $CFLAGS += ' -DRUBY_2_x_x'
   $CFLAGS += ' -DRUBY_2_2_x'
 else