summaryrefslogtreecommitdiffstats
path: root/toolchain/fortify-headers/patches/001-__ppoll_time64.patch
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/fortify-headers/patches/001-__ppoll_time64.patch')
-rw-r--r--toolchain/fortify-headers/patches/001-__ppoll_time64.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/fortify-headers/patches/001-__ppoll_time64.patch b/toolchain/fortify-headers/patches/001-__ppoll_time64.patch
index 9c6fea3e66..05f8c71714 100644
--- a/toolchain/fortify-headers/patches/001-__ppoll_time64.patch
+++ b/toolchain/fortify-headers/patches/001-__ppoll_time64.patch
@@ -5,7 +5,7 @@
}
-#ifdef _GNU_SOURCE
-+#if defined(_GNU_SOURCE) && !_REDIR_TIME64
++#if defined(_GNU_SOURCE) && !(defined(_REDIR_TIME64) && _REDIR_TIME64)
#undef ppoll
_FORTIFY_FN(ppoll) int ppoll(struct pollfd *__f, nfds_t __n, const struct timespec *__s,
const sigset_t *__m)