From 0d9698b55cd0992ae922beafcd4b34959f7500e7 Mon Sep 17 00:00:00 2001 From: alesapin Date: Wed, 2 Oct 2024 15:10:28 +0200 Subject: [PATCH] No stat64 for mac --- contrib/poco/Foundation/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/poco/Foundation/CMakeLists.txt b/contrib/poco/Foundation/CMakeLists.txt index 7f27f865..e6ba3f0c 100644 --- a/contrib/poco/Foundation/CMakeLists.txt +++ b/contrib/poco/Foundation/CMakeLists.txt @@ -197,6 +197,9 @@ target_compile_definitions (_poco_foundation if (OS_DARWIN OR OS_LINUX) target_compile_definitions (_poco_foundation PUBLIC POCO_OS_FAMILY_UNIX) + if (OS_DARWIN) + target_compile_definitions (_poco_foundation PUBLIC POCO_NO_STAT64) + endif() elseif(OS_WINDOWS) target_compile_definitions (_poco_foundation PUBLIC POCO_OS_FAMILY_WINDOWS Foundation_EXPORTS) endif()