about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-02-22 15:02:31 -0800
committerEric Wong <normalperson@yhbt.net>2011-02-22 15:34:16 -0800
commita5491670078b045ced2641649a6cfceee2cade10 (patch)
treef7687845d6a677cb3be85e3d2d58ff7a7e3c83ec
parent7144a4e325f77e3fa41ade00f5cef5612908a7e9 (diff)
downloadruby_posix_mq-a5491670078b045ced2641649a6cfceee2cade10.tar.gz
This was too aggressively deleted during cleanups for Rubinius
support in commit 5339d9d693c794c0f20270d5726cb360e31dff30

Noticed-by: Tadeusz Bochan <tad.bochan@bnpparibas.com>
ref: 2a92695fc1958e0370782284c6196625@ruby-forum.com
-rw-r--r--ext/posix_mq/posix_mq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/posix_mq/posix_mq.c b/ext/posix_mq/posix_mq.c
index 1b5fde8..c02d697 100644
--- a/ext/posix_mq/posix_mq.c
+++ b/ext/posix_mq/posix_mq.c
@@ -89,6 +89,7 @@ static void rb_18_str_set_len(VALUE str, long len)
         RSTRING(str)->len = len;
         RSTRING(str)->ptr[len] = '\0';
 }
+#define rb_str_set_len rb_18_str_set_len
 #endif /* !defined(HAVE_RB_STR_SET_LEN) */
 
 /* partial emulation of the 1.9 rb_thread_blocking_region under 1.8 */