From: OpenJDK Team Date: Mon, 24 Jul 2023 09:57:34 +0000 (+0100) Subject: mips X-Git-Tag: archive/raspbian/17.0.8+7-1_deb12u1+rpi1^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ef03c9a21bcf143bda88bc7c712d08c84f62a06d;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 ad36e6a19..901061a7e 100644 --- a/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c +++ b/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c @@ -156,7 +156,7 @@ static fdopendir_func* my_fdopendir_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)