summaryrefslogtreecommitdiffstats
path: root/src/metadata/asf
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 01:31:28 +0100
commitbee4995859c674cc3c913cfec544b41efed934a9 (patch)
tree3b6c9f2b399e1ab7457253be617c5e453876d1e1 /src/metadata/asf
parent906eb9cec6ac8533ddc86e7d2d26b15356ca0f82 (diff)
downloadsoundkonverter-bee4995859c674cc3c913cfec544b41efed934a9.tar.gz
soundkonverter-bee4995859c674cc3c913cfec544b41efed934a9.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>
Diffstat (limited to 'src/metadata/asf')
-rw-r--r--src/metadata/asf/asffile.cpp8
1 files changed, 8 insertions, 0 deletions
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 <tbytevectorlist.h>
#include <tstring.h>
#include "asffile.h"