From 83b43e84051e5dd828208f4ae04eef77558731b7 Mon Sep 17 00:00:00 2001 From: invertego Date: Tue, 27 Jun 2023 02:24:44 -0700 Subject: [PATCH] libchdr: redo fseeko/ftello fix --- thirdparty/GNUmakefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/thirdparty/GNUmakefile b/thirdparty/GNUmakefile index 123a7e7bed..5390f9f3bf 100644 --- a/thirdparty/GNUmakefile +++ b/thirdparty/GNUmakefile @@ -47,6 +47,9 @@ flags += -I$(libchdr.path)/include flags += -I$(libchdr.path)/deps/lzma-19.00/include -D_7ZIP_ST flags += -I$(libchdr.path)/deps/zlib-1.2.13 +# instruct glibc to declare fseeko/ftello +flags += -D_LARGEFILE_SOURCE + tzxfile.objects := TZXAudioGenerator TZXBlock TZXBlockArchiveInfo TZXBlockCustomInfo tzxfile.objects += TZXBlockGroupEnd TZXBlockGroupStart TZXBlockHardwareType TZXBlockLoopEnd tzxfile.objects += TZXBlockLoopStart TZXBlockMessage TZXBlockPause TZXBlockPulseSequence