Skip to content
Snippets Groups Projects
Commit cd8e5721 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

If we're older than Vista, use GetTickCount()

parent 97434544
No related branches found
No related tags found
No related merge requests found
Pipeline #7690 failed
......@@ -1155,7 +1155,11 @@ int64_t xp_fast_timer64(void)
else
ret = -1;
#elif defined(_WIN32)
#if WINVER < _WIN32_WINNT_VISTA
ret=GetTickCount() / 1000;
#else
ret=GetTickCount64() / 1000;
#endif
#else
#error no high-resolution time for this platform
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment