mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-06 06:32:56 +01:00
src/openrct2/core/FileStream.cpp: drop ftello64, fseeko64
The static usage definition of ftello64 and friends is not correct. While this currently works on glibc, this breaks on musl, as musl already is LFS aware. The solution is to drop this and add instead '-D_FILE_OFFSET_BITS=64' to the build system. Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -21,11 +21,6 @@
|
||||
# include <io.h>
|
||||
#endif
|
||||
|
||||
#if defined(__linux__) && !defined(__ANDROID__)
|
||||
# define ftello ftello64
|
||||
# define fseeko fseeko64
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
# define ftello _ftelli64
|
||||
# define fseeko _fseeki64
|
||||
|
||||
Reference in New Issue
Block a user