From 09df9972dc7903d72964841411208f6e47397018 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 30 Jul 2018 15:21:01 +0000 Subject: thread_pthread.c: revert r64123 * thread_pthread.c (USE_NATIVE_SLEEP_COND): revised wrongly removed line with the ifndef guard. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread_pthread.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'thread_pthread.c') diff --git a/thread_pthread.c b/thread_pthread.c index db940a7be5..d09569ec7d 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -1565,6 +1565,10 @@ rb_thread_create_mjit_thread(void (*worker_func)(void)) return ret; } +#ifndef USE_NATIVE_SLEEP_COND +#define USE_NATIVE_SLEEP_COND (1) +#endif + #if USE_NATIVE_SLEEP_COND rb_nativethread_cond_t * rb_sleep_cond_get(const rb_execution_context_t *ec) -- cgit v1.2.3