Sha256: fd7aada8c345bc20bb1b9e02f7562f6ab719bfbd94bb3bd22d19306e063e8313
Contents?: true
Size: 587 Bytes
Versions: 3
Compression:
Stored size: 587 Bytes
Contents
require "mkmf" have_header("sys/select.h") have_header("signal.h") have_header("mqueue.h") or abort "mqueue.h header missing" have_header("pthread.h") have_func("rb_str_set_len") have_func('rb_thread_blocking_region') have_func('rb_thread_call_without_gvl') have_library("m") have_library("rt") have_library("pthread") have_func("__mq_oshandle") have_func("mq_timedsend") have_func("mq_timedreceive") r, w = IO.pipe r.close w.close begin r.close $CPPFLAGS += ' -DIDEMPOTENT_IO_CLOSE=1' rescue IOError $CPPFLAGS += ' -DIDEMPOTENT_IO_CLOSE=0' end create_makefile("posix_mq_ext")
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
posix_mq-2.4.1 | ext/posix_mq/extconf.rb |
posix_mq-2.4.0 | ext/posix_mq/extconf.rb |
posix_mq-2.3.0 | ext/posix_mq/extconf.rb |