From 005e78b35ea9f32ee6337e2512746600cf93c055 Mon Sep 17 00:00:00 2001 From: Exverge Date: Sat, 20 Jul 2024 16:21:15 -0400 Subject: [PATCH] Set macOS frequency constant for Intel --- src/util/highresolutiontimer/HighResolutionTimer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/highresolutiontimer/HighResolutionTimer.cpp b/src/util/highresolutiontimer/HighResolutionTimer.cpp index de144b32..bb4a40ab 100644 --- a/src/util/highresolutiontimer/HighResolutionTimer.cpp +++ b/src/util/highresolutiontimer/HighResolutionTimer.cpp @@ -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;