b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | --- a/include/poll.h |
2 | +++ b/include/poll.h | ||||
3 | @@ -39,7 +39,7 @@ _FORTIFY_FN(poll) int poll(struct pollfd | ||||
4 | return __orig_poll(__f, __n, __s); | ||||
5 | } | ||||
6 | |||||
7 | -#ifdef _GNU_SOURCE | ||||
8 | +#if defined(_GNU_SOURCE) && !(defined(_REDIR_TIME64) && _REDIR_TIME64) | ||||
9 | #undef ppoll | ||||
10 | _FORTIFY_FN(ppoll) int ppoll(struct pollfd *__f, nfds_t __n, const struct timespec *__s, | ||||
11 | const sigset_t *__m) |