summaryrefslogtreecommitdiffstats
path: root/src/metadata/wavpack/wvfile.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2025-01-25 01:31:28 +0100
committerSlávek Banko <slavek.banko@axis.cz>2025-01-25 22:52:39 +0100
commit62c533380bdcf46e4500315455efff14828651b0 (patch)
treee513c354f294b01430998f2cbee64952f90d9392 /src/metadata/wavpack/wvfile.cpp
parent34d733475f8f959d9bac4afdfe4cc639c31d0d16 (diff)
downloadsoundkonverter-62c53338.tar.gz
soundkonverter-62c53338.zip
Fix the problem of linking taglib2 on 32 bit architectures
if taglib is not built with large files support. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit bee4995859c674cc3c913cfec544b41efed934a9)
Diffstat (limited to 'src/metadata/wavpack/wvfile.cpp')
-rw-r--r--src/metadata/wavpack/wvfile.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/metadata/wavpack/wvfile.cpp b/src/metadata/wavpack/wvfile.cpp
index 3890bc9..0e72fee 100644
--- a/src/metadata/wavpack/wvfile.cpp
+++ b/src/metadata/wavpack/wvfile.cpp
@@ -23,6 +23,14 @@
* MA 02110-1301 USA *
***************************************************************************/
+#include "config.h"
+
+#if !defined(TAGLIB_LARGE_FILES_SUPPORT)
+ #undef _LARGE_FILES
+ #undef _LARGEFILE_SOURCE
+ #undef _FILE_OFFSET_BITS
+#endif
+
#include <tbytevector.h>
#include <tstring.h>
#if 0