mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 17:39:40 +01:00
8324753: [AIX] adjust os_posix after JDK-8318696
Backport-of: 8950d68ddb
This commit is contained in:
committed by
Vitaly Provodin
parent
6e05b92961
commit
6da55c6f97
@@ -757,11 +757,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) {
|
||||
|
||||
Reference in New Issue
Block a user