Set macOS frequency constant for Intel

This commit is contained in:
Exverge 2024-07-20 16:21:15 -04:00 committed by GitHub
parent 804aa4f345
commit 005e78b35e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,7 +27,7 @@ uint64 HighResolutionTimer::m_freq = []() -> uint64 {
LARGE_INTEGER freq;
QueryPerformanceFrequency(&freq);
return (uint64)(freq.QuadPart);
#elif BOOST_OS_MACOS && defined(__arm64__)
#elif BOOST_OS_MACOS
return 1000000000;
#else
timespec pc;