overcome extconf conflict
This commit is contained in:
commit
63114d674c
@ -35,6 +35,7 @@ end
|
|||||||
# check for 1.9
|
# check for 1.9
|
||||||
if have_func('rb_thread_blocking_region') and have_macro('RUBY_UBF_IO', 'ruby.h')
|
if have_func('rb_thread_blocking_region') and have_macro('RUBY_UBF_IO', 'ruby.h')
|
||||||
$CFLAGS += " -DHAVE_TBR "
|
$CFLAGS += " -DHAVE_TBR "
|
||||||
|
$CPPFLAGS << " -DHAVE_TBR"
|
||||||
end
|
end
|
||||||
|
|
||||||
# make mysql constant
|
# make mysql constant
|
||||||
|
@ -10,10 +10,3 @@ class Mysql
|
|||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class Mysql::Result
|
|
||||||
def all_hashes
|
|
||||||
rows = []
|
|
||||||
each_hash { |row| rows << row }
|
|
||||||
rows
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
Loading…
Reference in New Issue
Block a user