diff options
author | Florian Frank <flori@ping.de> | 2009-11-20 00:15:47 +0100 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2009-11-20 00:15:47 +0100 |
commit | d1047b1f9cc022ee575ee7434a02b45aa238b0b9 (patch) | |
tree | 30b7618e1fc7a75c60f5aeb3ab345febe7a16162 | |
parent | d20b3041b5caba695f5bffd187f2bd9c37fe104b (diff) | |
download | json-d1047b1f9cc022ee575ee7434a02b45aa238b0b9.tar.gz |
do not forget to check the version
-rw-r--r-- | ext/json/ext/extconf_parser.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/json/ext/extconf_parser.rb b/ext/json/ext/extconf_parser.rb index 9662e9a..bdc0581 100644 --- a/ext/json/ext/extconf_parser.rb +++ b/ext/json/ext/extconf_parser.rb @@ -8,6 +8,9 @@ if CONFIG['CC'] =~ /gcc/ $CFLAGS << ' -Wall' #$CFLAGS.gsub!(/ -O[\dsz]?/, ' -O0 -ggdb') end +if RUBY_VERSION >= '1.9' + $CFLAGS << ' -DRUBY_19' +end have_header("ruby/st.h") || have_header("st.h") have_header("re.h") |