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:
Goetz Lindenmaier 2016-04-22 14:57:18 +02:00
parent 2e4cd63893
commit dafa24689b
4 changed files with 5 additions and 5 deletions

View file

@ -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) {