Skip to content

Commit

Permalink
8324753: [AIX] adjust os_posix after JDK-8318696
Browse files Browse the repository at this point in the history
Backport-of: 8950d68ddb36d35831fbb4b98969cd0537527070
  • Loading branch information
MBaesken committed Feb 13, 2024
1 parent b0e9a61 commit 4031ff4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/os/posix/os_posix.cpp
Expand Up @@ -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) {
Expand Down

1 comment on commit 4031ff4

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.