[Flang] Exclude the reference to TIME_UTC for AIX. (#99069)
This PR supersede PR #98915
This commit is contained in:
parent
bc8a8f5415
commit
fa0e529959
@ -139,6 +139,7 @@ count_t ConvertTimeSpecToCount(int kind, const struct timespec &tspec) {
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef _AIX
|
||||
// This is the fallback implementation, which should work everywhere.
|
||||
template <typename Unused = void>
|
||||
count_t GetSystemClockCount(int kind, fallback_implementation) {
|
||||
@ -153,6 +154,7 @@ count_t GetSystemClockCount(int kind, fallback_implementation) {
|
||||
// with the requested kind at the call site.
|
||||
return ConvertTimeSpecToCount(kind, tspec);
|
||||
}
|
||||
#endif
|
||||
|
||||
template <typename Unused = void>
|
||||
count_t GetSystemClockCountRate(int kind, fallback_implementation) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user