From 7c638c786527a26a3e83d155ca8ff4d55f01347f Mon Sep 17 00:00:00 2001 From: Conrad Kostecki Date: Mon, 1 Jan 2024 20:23:24 +0100 Subject: [PATCH] CMakeLists.txt: add D_FILE_OFFSET_BITS=64 Signed-off-by: Conrad Kostecki Signed-off-by: Conrad Kostecki --- src/openrct2/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/openrct2/CMakeLists.txt b/src/openrct2/CMakeLists.txt index 367939c962..55882a1097 100644 --- a/src/openrct2/CMakeLists.txt +++ b/src/openrct2/CMakeLists.txt @@ -265,3 +265,7 @@ else () # Dummy target to ease invocation add_custom_target(${PROJECT_NAME}-headers-check) endif () + +if (UNIX) + add_definitions(-D_FILE_OFFSET_BITS=64) +endif ()