Skip to content

Commit

Permalink
No stat64 for mac
Browse files Browse the repository at this point in the history
  • Loading branch information
alesapin committed Oct 2, 2024
1 parent 5029dd2 commit 0d9698b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contrib/poco/Foundation/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 0d9698b

Please sign in to comment.