about summary refs log tree commit homepage
path: root/ext/posix_mq/extconf.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-02-22 16:46:26 -0800
committerEric Wong <normalperson@yhbt.net>2011-02-22 16:46:26 -0800
commit3a8a20d685dbfb500187099d76e56e848ad347ed (patch)
treee70d7bca1b7b60f8dfb731971fb92d65d09af42c /ext/posix_mq/extconf.rb
parentc4c4554c3ceef9208fe7f8473b970e9f522ab9b9 (diff)
downloadruby_posix_mq-3a8a20d685dbfb500187099d76e56e848ad347ed.tar.gz
Some ancient systems don't support mq_timedsend and
mq_timedreceive but somehow manage to support other POSIX
mq_* functions.
Diffstat (limited to 'ext/posix_mq/extconf.rb')
-rw-r--r--ext/posix_mq/extconf.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/posix_mq/extconf.rb b/ext/posix_mq/extconf.rb
index ed119a3..310de3d 100644
--- a/ext/posix_mq/extconf.rb
+++ b/ext/posix_mq/extconf.rb
@@ -10,4 +10,7 @@ have_func('rb_thread_blocking_region')
 have_library("m")
 have_library("rt")
 have_library("pthread")
+
+have_func("mq_timedsend")
+have_func("mq_timedreceive")
 create_makefile("posix_mq_ext")