summaryrefslogtreecommitdiff
path: root/thread_pthread.c
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-05 16:43:32 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-05 16:43:32 +0000
commit4e73323a6007d0a554b52440f316e3c4c71eae26 (patch)
tree131c77d9bcb028499c3757ef790c28d611ea98b3 /thread_pthread.c
parentd33b9a8a724f5c46308b1a76062ac5722269905b (diff)
* thread_pthread.c (rb_reserved_fd_p): fix typo in macro check
that prevented the ifdef ever being true. [Bug #7281] [ruby-core:48940] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_pthread.c')
-rw-r--r--thread_pthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_pthread.c b/thread_pthread.c
index 49686afbed..d60cb41e28 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -1448,7 +1448,7 @@ ruby_stack_overflowed_p(const rb_thread_t *th, const void *addr)
int
rb_reserved_fd_p(int fd)
{
-#ifdef USE_SLEEPY_TIMER_THRAED
+#ifdef USE_SLEEPY_TIMER_THREAD
if (fd == timer_thread_pipe[0] ||
fd == timer_thread_pipe[1]) {
return 1;