From 7a4e30d27ee4ecdd80766fa5dc9511af93bdd0b0 Mon Sep 17 00:00:00 2001 From: Clownacy Date: Mon, 9 Jul 2018 17:41:36 +0100 Subject: [PATCH] [Core/CD] fix libFLAC compilation on MinGW-w64 Without autotools, fseeko cannot be detected automatically, so we cheat a little. --- core/cd_hw/libchdr/deps/libFLAC/include/share/compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/cd_hw/libchdr/deps/libFLAC/include/share/compat.h b/core/cd_hw/libchdr/deps/libFLAC/include/share/compat.h index dcb9350..744aabb 100644 --- a/core/cd_hw/libchdr/deps/libFLAC/include/share/compat.h +++ b/core/cd_hw/libchdr/deps/libFLAC/include/share/compat.h @@ -53,7 +53,7 @@ #define fseeko _fseeki64 #define ftello _ftelli64 #else /* MinGW */ -#if !defined(HAVE_FSEEKO) +#if !defined(HAVE_FSEEKO) && !defined(__MINGW64_VERSION_MAJOR) #define fseeko fseeko64 #define ftello ftello64 #endif