diff options
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index 787b6f437c..0649709265 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -3171,7 +3171,7 @@ rb_nativethread_self(void) return pthread_self(); } -#ifndef HAVE_PPOLL +#if defined(USE_POLL) && !defined(HAVE_PPOLL) /* TODO: don't ignore sigmask */ static int ruby_ppoll(struct pollfd *fds, nfds_t nfds, |