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

Check _WIN32_WINNT, not WINVER

Borland hates WINVER
parent cd8e5721
No related branches found
No related tags found
No related merge requests found
Pipeline #7691 failed
...@@ -1155,7 +1155,7 @@ int64_t xp_fast_timer64(void) ...@@ -1155,7 +1155,7 @@ int64_t xp_fast_timer64(void)
else else
ret = -1; ret = -1;
#elif defined(_WIN32) #elif defined(_WIN32)
#if WINVER < _WIN32_WINNT_VISTA #if _WIN32_WINNT < _WIN32_WINNT_VISTA
ret=GetTickCount() / 1000; ret=GetTickCount() / 1000;
#else #else
ret=GetTickCount64() / 1000; ret=GetTickCount64() / 1000;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment