overcome extconf conflict

This commit is contained in:
Roger Pack 2008-09-30 17:02:58 -06:00
commit 63114d674c
2 changed files with 1 additions and 7 deletions

View File

@ -35,6 +35,7 @@ end
# check for 1.9
if have_func('rb_thread_blocking_region') and have_macro('RUBY_UBF_IO', 'ruby.h')
$CFLAGS += " -DHAVE_TBR "
$CPPFLAGS << " -DHAVE_TBR"
end
# make mysql constant

View File

@ -10,10 +10,3 @@ class Mysql
end
class Mysql::Result
def all_hashes
rows = []
each_hash { |row| rows << row }
rows
end
end