From bee4995859c674cc3c913cfec544b41efed934a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 25 Jan 2025 01:31:28 +0100 Subject: Fix the problem of linking taglib2 on 32 bit architectures if taglib is not built with large files support. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/metadata/asf/asffile.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/metadata/asf') diff --git a/src/metadata/asf/asffile.cpp b/src/metadata/asf/asffile.cpp index 3000007..3c15837 100644 --- a/src/metadata/asf/asffile.cpp +++ b/src/metadata/asf/asffile.cpp @@ -19,6 +19,14 @@ * USA * ***************************************************************************/ +#include "config.h" + +#if !defined(TAGLIB_LARGE_FILES_SUPPORT) + #undef _LARGE_FILES + #undef _LARGEFILE_SOURCE + #undef _FILE_OFFSET_BITS +#endif + #include #include #include "asffile.h" -- cgit v1.2.1