diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-30 15:21:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-30 15:21:01 +0000 |
commit | 09df9972dc7903d72964841411208f6e47397018 (patch) | |
tree | 968a527bcbe902ff520f0855f8226412c16b9079 /thread_pthread.c | |
parent | a038bf238bd9a24bf1e1622f618a27db261fc91b (diff) |
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
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) |