mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 00:41:17 +00:00
603a3c6955
The type 'id_t' check has been moved to configure.ac in upstream commit:
819063eb4d27 ("test for id_t with autoconf instead of blind typedef, fixes FTBFS on FreeBSD")
changelog:
e4780b1aad/debian/changelog
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/16530
Signed-off-by: Nick Hainke <vincent@systemli.org>
12 lines
340 B
Diff
12 lines
340 B
Diff
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -390,7 +390,7 @@ dnl Digital Unix: stat
|
|
time64_hack=no
|
|
AH_TEMPLATE([TIME64_HACK], [time64 shuffle])
|
|
AC_MSG_CHECKING([if we need to cope with time64])
|
|
-AC_EGREP_CPP([time64],[
|
|
+AC_EGREP_CPP([_*[a-z0-9]+_time64[^_]],[
|
|
#include <bits/wordsize.h>
|
|
#if __WORDSIZE == 32
|
|
#define __USE_TIME_BITS64 1
|