Skip to content

Commit

Permalink
osdep/timer-win32: remove not needed compatibility define
Browse files Browse the repository at this point in the history
  • Loading branch information
kasper93 committed Jun 6, 2024
1 parent 3e43c68 commit dece69d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions osdep/timer-win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit dece69d

Please sign in to comment.