From dece69d5ea6d5b78f3745ab9266861ffd2db94c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Tue, 4 Jun 2024 19:10:10 +0200 Subject: [PATCH] osdep/timer-win32: remove not needed compatibility define --- osdep/timer-win32.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/osdep/timer-win32.c b/osdep/timer-win32.c index f005057c8a14e..d4d0472a317f6 100644 --- a/osdep/timer-win32.c +++ b/osdep/timer-win32.c @@ -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);