summaryrefslogtreecommitdiff
path: root/thread_pthread.c
diff options
context:
space:
mode:
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);