From fc295224bf9349a43c83e98b3e658a29585d31e7 Mon Sep 17 00:00:00 2001 From: falkTX Date: Wed, 6 Jul 2022 10:40:39 +0100 Subject: [PATCH] Set _FILE_OFFSET_BITS=64 for ysfx Signed-off-by: falkTX --- source/modules/ysfx/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/modules/ysfx/Makefile b/source/modules/ysfx/Makefile index 1bb4cd414..c0cc23a85 100644 --- a/source/modules/ysfx/Makefile +++ b/source/modules/ysfx/Makefile @@ -53,10 +53,10 @@ ifeq ($(WINDOWS),true) YSFX_FLAGS += -DNOMINMAX endif -# ifneq ($(CPU_I386),true) -# # NOTE: not compatible with MingGW, breaks win32_utf8 -# YSFX_FLAGS += -D_FILE_OFFSET_BITS=64 -# endif +ifneq ($(WINDOWS)$(CPU_I386),truetrue) +# NOTE: not compatible with MingGW, breaks win32_utf8 +YSFX_FLAGS += -D_FILE_OFFSET_BITS=64 +endif ifeq ($(HAVE_YSFXGUI),true) ifneq ($(MACOS_OR_WINDOWS),true)