Browse Source

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>
Nadav Tasher 3 months ago
parent
commit
9ef8c7757d
1 changed files with 0 additions and 6 deletions
  1. 0 6
      include/features.h

+ 0 - 6
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