[vlc-commits] contribs: mpg123: Fix cross compilation for winstore
Hugo Beauzée-Luyssen
git at videolan.org
Fri Nov 17 17:39:20 CET 2017
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Nov 17 11:23:32 2017 +0100| [b351e72fc9b729b1782290bd3c865c5e9e93a4af] | committer: Hugo Beauzée-Luyssen
contribs: mpg123: Fix cross compilation for winstore
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b351e72fc9b729b1782290bd3c865c5e9e93a4af
---
contrib/src/mpg123/winstore.patch | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/contrib/src/mpg123/winstore.patch b/contrib/src/mpg123/winstore.patch
index ba51e60af7..416faeaba9 100644
--- a/contrib/src/mpg123/winstore.patch
+++ b/contrib/src/mpg123/winstore.patch
@@ -55,13 +55,23 @@
AC_MSG_CHECKING([if WINVER and _WIN32_WINNT needs version bumps])
if test "x$win32_winver_bump" = "xyes"; then
AC_MSG_RESULT([yes])
---- mpg123/src/compat/compat.c 2017-11-17 09:53:42.399892515 +0100
-+++ mpg123/src/compat/compat.c.new 2017-11-17 09:53:50.235892653 +0100
-@@ -16,6 +16,7 @@
+--- mpg123/src/compat/compat.c 2017-11-17 11:22:26.575986065 +0100
++++ mpg123/src/compat/compat.c.new 2017-11-17 11:22:22.671985997 +0100
+@@ -14,13 +14,14 @@
+ #define _POSIX_SOURCE
+ #include "compat.h"
- #ifdef _MSC_VER
- #include <io.h>
+-#ifdef _MSC_VER
+-#include <io.h>
+-
+#include <winapifamily.h>
-
#if(defined(WINAPI_FAMILY) && (WINAPI_FAMILY==WINAPI_FAMILY_APP))
#define WINDOWS_UWP
+ #endif
+
++#ifdef _MSC_VER
++#include <io.h>
++
+ #endif
+ #ifdef HAVE_SYS_STAT_H
+ # include <sys/stat.h>
More information about the vlc-commits
mailing list