From be62e8fc5deedf4f105416e925bdc1cfdb6e7d80 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Thu, 23 Sep 2021 17:54:27 +0200 Subject: [PATCH] Proper fix for the last commit. --- es-core/src/utils/FileSystemUtil.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/es-core/src/utils/FileSystemUtil.cpp b/es-core/src/utils/FileSystemUtil.cpp index 48b686b30..c96ae9b4f 100644 --- a/es-core/src/utils/FileSystemUtil.cpp +++ b/es-core/src/utils/FileSystemUtil.cpp @@ -8,6 +8,10 @@ // remove files etc. // +#if !defined(__APPLE__) +#define _FILE_OFFSET_BITS 64 +#endif + #if defined(__APPLE__) #define _DARWIN_USE_64_BIT_INODE #endif