1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 20:34:58 +00:00

osdep/timer-win32: remove unnecessary compatibility defines

No longer needed after 9f8b4b38c9.
This commit is contained in:
Kacper Michajłow 2024-06-04 19:10:10 +02:00
parent 01383c606c
commit a73c73255b

View File

@ -67,11 +67,6 @@ void mp_sleep_ns(int64_t ns)
return;
int64_t hrt = mp_start_hires_timers(ns);
#ifndef CREATE_WAITABLE_TIMER_HIGH_RESOLUTION
#define CREATE_WAITABLE_TIMER_HIGH_RESOLUTION 0x2
#endif
HANDLE timer = CreateWaitableTimerEx(NULL, NULL,
CREATE_WAITABLE_TIMER_HIGH_RESOLUTION,
TIMER_ALL_ACCESS);