From f63b06f5f68c5efc26b46a5e8f25a6dc83e65766 Mon Sep 17 00:00:00 2001 From: "C.W. Betts" Date: Wed, 19 May 2021 15:23:17 -0600 Subject: [PATCH] MacOS lacks 64-bit-specific offset bits for file functions: Use plain off_t-based functions if HAS_OFF64T is false. --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 8197093..734be0e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -137,7 +137,7 @@ pcem_LDADD += wx.res endif if !HAS_OFF64T -#pcem_CFLAGS += -Doff64_t=off_t -Dfopen64=fopen -Dfseeko64=fseek -Dftello64=ftell +pcem_CFLAGS += -Doff64_t=off_t -Dfopen64=fopen -Dfseeko64=fseeko -Dftello64=ftello endif if RELEASE_BUILD