diff options
author | Slávek Banko <[email protected]> | 2025-01-25 01:31:28 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2025-01-25 22:52:39 +0100 |
commit | 62c533380bdcf46e4500315455efff14828651b0 (patch) | |
tree | e513c354f294b01430998f2cbee64952f90d9392 /src/metadata/trueaudio/ttafile.cpp | |
parent | 34d733475f8f959d9bac4afdfe4cc639c31d0d16 (diff) | |
download | soundkonverter-62c533380bdcf46e4500315455efff14828651b0.tar.gz soundkonverter-62c533380bdcf46e4500315455efff14828651b0.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 <[email protected]>
(cherry picked from commit bee4995859c674cc3c913cfec544b41efed934a9)
Diffstat (limited to 'src/metadata/trueaudio/ttafile.cpp')
-rw-r--r-- | src/metadata/trueaudio/ttafile.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/metadata/trueaudio/ttafile.cpp b/src/metadata/trueaudio/ttafile.cpp index 3a02e20..0686d74 100644 --- a/src/metadata/trueaudio/ttafile.cpp +++ b/src/metadata/trueaudio/ttafile.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 |