Browse Source

riscv: fix pread64/pwrite64 users like git, suggested by sorear

Waldemar Brodkorb 1 month ago
parent
commit
b7d834da28

+ 1 - 1
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__

+ 1 - 1
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__