fortify-headers: fix build error when _REDIR_TIME64 is not defined
[openwrt/staging/jow.git] / toolchain / fortify-headers / patches / 001-__ppoll_time64.patch
index 9c6fea3e661d7ba3683dd89c5aab704e11f46ea3..05f8c717148e22a4ce0270b6fa52b455a5f87cda 100644 (file)
@@ -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)