Glibc and musl both defines this macro.
Glibc defines it for 64-bit time_t on 32-bit arch
and for 64-bit architectures.

Signed-off-by: Dmitry Chestnykh <dm.chestn...@gmail.com>
---
 include/features.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/features.h b/include/features.h
index 11b34205f..4322df7c1 100644
--- a/include/features.h
+++ b/include/features.h
@@ -437,4 +437,8 @@
 # include <libc-internal.h>
 #endif
 
+#ifdef __UCLIBC_USE_TIME64__ || __TARGET_ARCH_BITS__ == 64
+#define __USE_TIME_BITS64 1
+#endif
+
 #endif /* features.h  */
-- 
2.44.0

_______________________________________________
devel mailing list -- devel@uclibc-ng.org
To unsubscribe send an email to devel-le...@uclibc-ng.org

Reply via email to