diff options
-rw-r--r-- | src/plugins/sensors/dummy/dummycommon.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/sensors/dummy/dummycommon.cpp b/src/plugins/sensors/dummy/dummycommon.cpp index 675e54b..757d48f 100644 --- a/src/plugins/sensors/dummy/dummycommon.cpp +++ b/src/plugins/sensors/dummy/dummycommon.cpp @@ -120,7 +120,11 @@ static quint64 windowsTimeStamp() if (QueryPerformanceCounter(&counterLI)) return 1000000 * counterLI.QuadPart / frequency; } +#ifndef Q_OS_WINRT return GetTickCount(); +#else + return GetTickCount64(); +#endif } #endif |