Skip to content

Commit

Permalink
Backport 8950d68ddb36d35831fbb4b98969cd0537527070
Browse files Browse the repository at this point in the history
  • Loading branch information
duke committed Jul 29, 2024
1 parent 5ed58c2 commit cda343a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/os/posix/os_posix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -721,15 +721,15 @@ 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::fsync(int fd) {
return ::fsync(fd);
}

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) {
Expand Down

0 comments on commit cda343a

Please sign in to comment.