summaryrefslogtreecommitdiff
path: root/thread_pthread.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-10 21:19:07 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-10 21:19:07 +0000
commit67b8c950bfebee48b1883321a404e760cd9b9044 (patch)
tree074ce2279b2b0d471406fc453b1379b2e5d5c2f4 /thread_pthread.c
parentcf8c5c14051dbb2b255bf7c0adde7d9e283b222f (diff)
* thread_pthread.c (native_cond_initialize): fix typo in r36022.
this cause a failure on FreeBSD 8.2 amd64. http://fbsd.rubyci.org/~chkbuild/ruby-trunk/log/20120610T130201Z.diff.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36026 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 f434d16922..332e97be21 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -248,7 +248,7 @@ native_cond_initialize(rb_thread_cond_t *cond, int flags)
{
#ifdef HAVE_PTHREAD_COND_INIT
int r;
-# ifdef HAVE_PTHREAD_COND_ATTR_INIT
+# ifdef HAVE_PTHREAD_CONDATTR_INIT
pthread_condattr_t attr;
pthread_condattr_init(&attr);