From: OpenJDK Team Date: Thu, 1 May 2025 08:40:21 +0000 (+0200) Subject: mips X-Git-Tag: archive/raspbian/17.0.15+6-1_deb12u1+rpi1^2~13 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=52f900e6059477b1ed8324b56b43ee18ad80011e;p=openjdk-17.git mips # DP: Untested patch suggested to fix #983878 # DP: Untested patch suggested to fix #983878 Gbp-Pq: Name mips.diff --- diff --git a/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c b/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c index 7bc14a0da..1570d9ce5 100644 --- a/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c +++ b/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c @@ -268,7 +268,7 @@ static statx_func* my_statx_func = NULL; /** * fstatat missing from glibc on Linux. */ -#if defined(__linux__) && (defined(__i386) || defined(__arm__)) +#if defined(__linux__) && (defined(__i386) || defined(__arm__) || (defined(__mips__) && !defined(__mips64))) #define FSTATAT64_SYSCALL_AVAILABLE static int fstatat64_wrapper(int dfd, const char *path, struct stat64 *statbuf, int flag)