Commit b351e72f authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

contribs: mpg123: Fix cross compilation for winstore

parent a141bcc8
......@@ -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>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment