[vlc-commits] core: win32: fix compilation for Winstore

Steve Lhomme git at videolan.org
Wed Mar 15 19:17:29 CET 2017


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | 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 <jb at videolan.org>

> 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;
 



More information about the vlc-commits mailing list