소스 검색

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

Waldemar Brodkorb 1 개월 전
부모
커밋
b7d834da28
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      libc/sysdeps/linux/riscv32/bits/uClibc_arch_features.h
  2. 1 1
      libc/sysdeps/linux/riscv64/bits/uClibc_arch_features.h

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