about summary refs log tree commit homepage
path: root/ext/posix_mq/extconf.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-01-03 05:35:50 +0000
committerEric Wong <normalperson@yhbt.net>2010-01-02 21:39:16 -0800
commit350bfc831938d84cc2d478f2cf88583863cb64fb (patch)
tree190eb0bdb8be5441e09830c88d8bb9d3ab72f87b /ext/posix_mq/extconf.rb
parent26015d39e9c848a536b4ea44802f858a4e6e74f7 (diff)
downloadruby_posix_mq-350bfc831938d84cc2d478f2cf88583863cb64fb.tar.gz
FreeBSD implements an __mq_oshandle(mqd_t mqd) function
to convert mqd_t to integer file descriptors.
Diffstat (limited to 'ext/posix_mq/extconf.rb')
-rw-r--r--ext/posix_mq/extconf.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/posix_mq/extconf.rb b/ext/posix_mq/extconf.rb
index e890276..b9e8963 100644
--- a/ext/posix_mq/extconf.rb
+++ b/ext/posix_mq/extconf.rb
@@ -3,6 +3,7 @@ require "mkmf"
 have_header("sys/select.h")
 have_header("signal.h")
 have_header("mqueue.h") or abort "mqueue.h header missing"
+have_func("__mq_oshandle")
 have_func("rb_str_set_len")
 have_func("rb_struct_alloc_noinit")
 have_func('rb_thread_blocking_region')