mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-08 14:10:11 +01:00
Time (Windows): prefers RTL APIs
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ static inline double ffTimeGetTick(void) //In msec
|
||||
#ifdef _WIN32
|
||||
extern double ffQpcMultiplier;
|
||||
LARGE_INTEGER start;
|
||||
QueryPerformanceCounter(&start);
|
||||
RtlQueryPerformanceCounter(&start);
|
||||
return (double) start.QuadPart * ffQpcMultiplier;
|
||||
#elif defined(__HAIKU__)
|
||||
return (double) system_time() / 1000.;
|
||||
|
||||
Reference in New Issue
Block a user