mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8246112: Remove build-time and run-time checks for clock_gettime and CLOCK_MONOTONIC
Reviewed-by: ihse, erikj, gziemski, hseigel
This commit is contained in:
parent
19b6f61bd2
commit
6f2be9c608
16 changed files with 90 additions and 359 deletions
|
@ -109,14 +109,6 @@ inline struct hostent* os::get_host_by_name(char* name) {
|
|||
return ::gethostbyname(name);
|
||||
}
|
||||
|
||||
inline bool os::supports_monotonic_clock() {
|
||||
#ifdef __APPLE__
|
||||
return true;
|
||||
#else
|
||||
return Bsd::_clock_gettime != NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
inline void os::exit(int num) {
|
||||
::exit(num);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue