summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-05-10 11:51:13 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2024-05-10 11:54:26 +0200
commit79485f17d59ad267dc1add87b23248dff9908132 (patch)
tree76e260b18cc38b6f57e574a8404392c21e6ad036
parent44aee04d7864da97a79fc41eeac0695d5f21f861 (diff)
csky: allow time64
-rw-r--r--extra/Configs/Config.in1
-rw-r--r--libc/sysdeps/linux/csky/bits/uClibc_arch_features.h3
2 files changed, 1 insertions, 3 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index b814449b4..3a0136c99 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -1028,6 +1028,7 @@ config UCLIBC_USE_TIME64
bool "Use *time64 syscalls instead of 32bit ones (if possible)"
depends on TARGET_arc || \
TARGET_arm || \
+ TARGET_csky || \
TARGET_i386 || \
TARGET_m68k || \
TARGET_microblaze || \
diff --git a/libc/sysdeps/linux/csky/bits/uClibc_arch_features.h b/libc/sysdeps/linux/csky/bits/uClibc_arch_features.h
index 3f5dab80c..1b866cb90 100644
--- a/libc/sysdeps/linux/csky/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/csky/bits/uClibc_arch_features.h
@@ -17,9 +17,6 @@
/* can your target use syscall6() for mmap ? */
#undef __UCLIBC_MMAP_HAS_6_ARGS__
-/* does your target use statx */
-#define __UCLIBC_HAVE_STATX__
-
#ifdef __CSKYABIV2__
#undef __UCLIBC_SYSCALL_ALIGN_64BIT__
#else