summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNadav Tasher <tashernadav@gmail.com>2025-01-07 00:46:36 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2025-01-07 10:09:41 +0100
commit9ef8c7757dfda32023451b7ea90f5d49e836b21f (patch)
tree8fc5b5fa55ead049809f393309535379ac41980d
parent1377a5a87093fc90bdd23e9c8156aeb195b54649 (diff)
Revert "features.h: error out when attempting to compile with TIME64 for 32bit targets on Linux versions prior to 5.1.0"
This reverts previous changes made to features.h which caused redefinitions when including `features.h`. The reverted functionality will be reintroduced in a future commit. Signed-off-by: Nadav Tasher <tashernadav@gmail.com>
-rw-r--r--include/features.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/features.h b/include/features.h
index 0b09d71a2..1a4efb9db 100644
--- a/include/features.h
+++ b/include/features.h
@@ -449,12 +449,6 @@
# include <libc-internal.h>
#endif
-#include <linux/version.h>
-
-#if defined(__UCLIBC_USE_TIME64__) && __TARGET_ARCH_BITS__ == 32 && LINUX_VERSION_CODE < KERNEL_VERSION(5,1,0)
-#error 64bit time on 32bit targets is not supported on Linux < 5.1.0
-#endif
-
#if defined(__UCLIBC_USE_TIME64__) || __TARGET_ARCH_BITS__ == 64
#define __USE_TIME_BITS64 1
#endif