summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-03-22 04:04:35 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-03-22 04:04:35 +0100
commitb7d834da283a0be4d0b4e19b1d0324267f405aa2 (patch)
tree349ccba24f1b6525f44f894becb3314420c6344c
parent6c5b3b0ce2cfd716d30b113bb1a9af3ff4edad00 (diff)
riscv: fix pread64/pwrite64 users like git, suggested by sorear
-rw-r--r--libc/sysdeps/linux/riscv32/bits/uClibc_arch_features.h2
-rw-r--r--libc/sysdeps/linux/riscv64/bits/uClibc_arch_features.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/riscv32/bits/uClibc_arch_features.h b/libc/sysdeps/linux/riscv32/bits/uClibc_arch_features.h
index 09422d2b4..a294e093c 100644
--- a/libc/sysdeps/linux/riscv32/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/riscv32/bits/uClibc_arch_features.h
@@ -7,7 +7,7 @@
#undef __UCLIBC_ABORT_INSTRUCTION__
-#define __UCLIBC_SYSCALL_ALIGN_64BIT__
+#undef __UCLIBC_SYSCALL_ALIGN_64BIT__
/* does your target have a broken create_module() ? */
#define __UCLIBC_BROKEN_CREATE_MODULE__
diff --git a/libc/sysdeps/linux/riscv64/bits/uClibc_arch_features.h b/libc/sysdeps/linux/riscv64/bits/uClibc_arch_features.h
index 3b8361442..011e2cef7 100644
--- a/libc/sysdeps/linux/riscv64/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/riscv64/bits/uClibc_arch_features.h
@@ -13,7 +13,7 @@
/* does your target use statx */
#undef __UCLIBC_HAVE_STATX__
-#define __UCLIBC_SYSCALL_ALIGN_64BIT__
+#undef __UCLIBC_SYSCALL_ALIGN_64BIT__
/* does your target have a broken create_module() ? */
#define __UCLIBC_BROKEN_CREATE_MODULE__