about summary refs log tree commit homepage
path: root/ext/raindrops/extconf.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-03-21 10:46:58 -0700
committerEric Wong <normalperson@yhbt.net>2011-03-21 10:46:58 -0700
commita5d552d90942fe3c3d1adfc809638fd78992da6e (patch)
treecaa28dc285e39c787ec1d4a291470679b7c80c8c /ext/raindrops/extconf.rb
parentf86b02018a4195e199136eb0bd8d127d01cae154 (diff)
downloadraindrops-a5d552d90942fe3c3d1adfc809638fd78992da6e.tar.gz
It can detect cross-thread close() calls
Diffstat (limited to 'ext/raindrops/extconf.rb')
-rw-r--r--ext/raindrops/extconf.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/raindrops/extconf.rb b/ext/raindrops/extconf.rb
index 08b5f44..141722d 100644
--- a/ext/raindrops/extconf.rb
+++ b/ext/raindrops/extconf.rb
@@ -10,6 +10,7 @@ $CPPFLAGS += " -D_BSD_SOURCE -D_XOPEN_SOURCE=600 "
 have_func("getpagesize", "unistd.h")
 have_func("rb_struct_alloc_noinit")
 have_func('rb_thread_blocking_region')
+have_func('rb_thread_io_blocking_region')
 
 checking_for "GCC 4+ atomic builtins" do
   src = <<SRC