vlc | branch: master | Steve Lhomme <[email protected]> | Tue Mar 14 15:15:23 
2017 +0100| [d587aa5b158e354eb229ee3cc42bb1850f4e164e] | committer: 
Jean-Baptiste Kempf

core: win32: fix compilation for Winstore

MMRESULT is not defined in that case with MS headers

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d587aa5b158e354eb229ee3cc42bb1850f4e164e
---

 src/win32/specific.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/win32/specific.c b/src/win32/specific.c
index 37f0b99..31d40af 100644
--- a/src/win32/specific.c
+++ b/src/win32/specific.c
@@ -35,6 +35,9 @@
 
 #include <mmsystem.h>
 #include <winsock.h>
+#if VLC_WINSTORE_APP && !defined(__MINGW32__)
+typedef UINT MMRESULT;
+#endif
 
 DWORD LoadLibraryFlags = 0;
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to