diff options
author | Eric Wong <e@80x24.org> | 2017-03-18 07:48:49 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2017-03-18 07:55:49 +0000 |
commit | cef65a3fb602b9a9f3348cf622a3c9215783aabf (patch) | |
tree | f18876a8019512c95f28c68bfa7f5f86dbfd4215 | |
parent | b8c64a2a3440bf65712a8be371d57430dca03998 (diff) | |
download | ruby_posix_mq-cef65a3fb602b9a9f3348cf622a3c9215783aabf.tar.gz |
This bug was noticed under FreeBSD :x
-rw-r--r-- | ext/posix_mq/posix_mq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/posix_mq/posix_mq.c b/ext/posix_mq/posix_mq.c index 0567676..55ec51e 100644 --- a/ext/posix_mq/posix_mq.c +++ b/ext/posix_mq/posix_mq.c @@ -1213,11 +1213,11 @@ void Init_posix_mq_ext(void) rb_define_method(cPOSIX_MQ, "autoclose=", setautoclose, 1); #ifdef MQD_TO_FD rb_define_method(cPOSIX_MQ, "to_io", to_io, 0); + id_setautoclose = rb_intern("autoclose="); #endif #ifdef FD_TO_MQD rb_define_module_function(cPOSIX_MQ, "for_fd", for_fd, 1); - id_setautoclose = rb_intern("autoclose="); #endif id_new = rb_intern("new"); |