diff options
author | Nobuyoshi Nakada <[email protected]> | 2023-10-12 17:36:24 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2023-10-12 17:36:24 +0900 |
commit | 2cd9aae4b75b89e9dd0a820ff48d2edea89203c7 (patch) | |
tree | 7a9d0681b639413c79c5b7d5ff0bdabd8e6ac20c /thread_pthread.c | |
parent | 769f53eb7e9db306988bb99802b15942c1c755c3 (diff) |
Fix unused-function warning for 'ruby_ppoll' [ci skip]
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, |