[vlc-commits] interrupt: QueueUserAPC is always allowed on Win10
Hugo Beauzée-Luyssen
git at videolan.org
Thu May 26 13:44:17 CEST 2016
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu May 26 13:29:37 2016 +0200| [762c037b688b4b3da2ee8059139b789118372e0e] | committer: Hugo Beauzée-Luyssen
interrupt: QueueUserAPC is always allowed on Win10
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=762c037b688b4b3da2ee8059139b789118372e0e
---
src/misc/interrupt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/misc/interrupt.c b/src/misc/interrupt.c
index 6ad82c2..eddaca6 100644
--- a/src/misc/interrupt.c
+++ b/src/misc/interrupt.c
@@ -612,7 +612,7 @@ static void CALLBACK vlc_poll_i11e_wake_self(ULONG_PTR data)
static void vlc_poll_i11e_wake(void *opaque)
{
-#if !VLC_WINSTORE_APP
+#if !VLC_WINSTORE_APP || _WIN32_WINNT >= 0x0A00
HANDLE th = opaque;
QueueUserAPC(vlc_poll_i11e_wake_self, th, 0);
#else
More information about the vlc-commits
mailing list