From a73c73255b389919bb451d20e8a2397c31084552 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 unnecessary compatibility defines No longer needed after 9f8b4b38c97f0697fbc3a9b30e4e856337cd6dcf. --- osdep/timer-win32.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/osdep/timer-win32.c b/osdep/timer-win32.c index f005057c8a..d4d0472a31 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);