Skip to content
Snippets Groups Projects
Commit f4e81948 authored by Matthias Baesken's avatar Matthias Baesken
Browse files

8324753: [AIX] adjust os_posix after JDK-8318696

Backport-of: 8950d68ddb36d35831fbb4b98969cd0537527070
parent efee05f4
No related branches found
No related tags found
No related merge requests found
...@@ -721,7 +721,7 @@ void os::dll_unload(void *lib) { ...@@ -721,7 +721,7 @@ void os::dll_unload(void *lib) {
} }
jlong os::lseek(int fd, jlong offset, int whence) { 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) { int os::fsync(int fd) {
...@@ -729,7 +729,7 @@ int os::fsync(int fd) { ...@@ -729,7 +729,7 @@ int os::fsync(int fd) {
} }
int os::ftruncate(int fd, jlong length) { 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) { const char* os::get_current_directory(char *buf, size_t buflen) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment