8324753: [AIX] adjust os_posix after JDK-8318696

Reviewed-by: jkern, stuefe, kbarrett, dholmes
This commit is contained in:
Matthias Baesken 2024-01-29 07:38:32 +00:00
parent 65d6bc1d4c
commit 8950d68ddb

View File

@ -753,11 +753,11 @@ void os::dll_unload(void *lib) {
}
jlong os::lseek(int fd, jlong offset, int whence) {
return (jlong) ::lseek(fd, offset, whence);
return (jlong) AIX_ONLY(::lseek64) NOT_AIX(::lseek)(fd, offset, whence);
}
int os::ftruncate(int fd, jlong length) {
return ::ftruncate(fd, length);
return AIX_ONLY(::ftruncate64) NOT_AIX(::ftruncate)(fd, length);
}
const char* os::get_current_directory(char *buf, size_t buflen) {