mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 04:24:49 +02:00
8154921: Fix aix after "8146879: Add option for handling existing log files in UL"
Rename os::fileno to os::get_fileno because AIX defines macro 'fileno'. Reviewed-by: coleenp
This commit is contained in:
parent
2e4cd63893
commit
dafa24689b
4 changed files with 5 additions and 5 deletions
|
@ -181,8 +181,8 @@ int os::log_vsnprintf(char* buf, size_t len, const char* fmt, va_list args) {
|
|||
return vsnprintf(buf, len, fmt, args);
|
||||
}
|
||||
|
||||
int os::fileno(FILE* fp) {
|
||||
return ::fileno(fp);
|
||||
int os::get_fileno(FILE* fp) {
|
||||
return NOT_AIX(::)fileno(fp);
|
||||
}
|
||||
|
||||
void os::Posix::print_load_average(outputStream* st) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue