1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-03 01:31:53 +02:00

interrupt: make QueueUserAPC available everywhere on Windows

The documentation doesn't mention it's not available on older UWP targets.
The MS headers don't have that limitation either.
This commit is contained in:
Steve Lhomme 2021-09-24 10:56:58 +02:00
parent 4dcc5694fc
commit 9f1a32a041

View File

@ -546,12 +546,8 @@ static void CALLBACK vlc_poll_i11e_wake_self(ULONG_PTR data)
static void vlc_poll_i11e_wake(void *opaque)
{
#if !defined(VLC_WINSTORE_APP) || _WIN32_WINNT >= 0x0A00
HANDLE th = opaque;
QueueUserAPC(vlc_poll_i11e_wake_self, th, 0);
#else
(void) opaque;
#endif
}
static void vlc_poll_i11e_cleanup(void *opaque)