13
0

compilation error fix for windows

This commit is contained in:
Paul Davis 2021-06-26 18:35:14 -06:00
parent b9a85c7dcd
commit d1967827ca

View File

@ -52,7 +52,7 @@ PBD::get_microseconds ()
#ifdef PLATFORM_WINDOWS #ifdef PLATFORM_WINDOWS
LARGE_INTEGER time; LARGE_INTEGER time;
if (time_rate_usecs) { if (timer_rate_usecs) {
if (QueryPerformanceCounter (&time)) { if (QueryPerformanceCounter (&time)) {
return (microseconds_t) (time.QuadPart * timer_rate_us); return (microseconds_t) (time.QuadPart * timer_rate_us);
} }