aboutsummaryrefslogtreecommitdiff
path: root/zencore/filesystem.cpp
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-12-16 13:38:19 +0100
committerMartin Ridgers <[email protected]>2022-01-05 09:34:12 +0100
commit182c075db09ca641cc8bcb61b53c86c20f4c1b7b (patch)
tree2eda9f0ab09a13994328d31775e80cb5a8677d94 /zencore/filesystem.cpp
parentAn implementation of PathFromHandle() for Mac (diff)
downloadzen-182c075db09ca641cc8bcb61b53c86c20f4c1b7b.tar.xz
zen-182c075db09ca641cc8bcb61b53c86c20f4c1b7b.zip
CloneFile()'s unimplemented on Mac but shouldn't be a compile error
Diffstat (limited to 'zencore/filesystem.cpp')
-rw-r--r--zencore/filesystem.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/zencore/filesystem.cpp b/zencore/filesystem.cpp
index 878d20c42..95b92277b 100644
--- a/zencore/filesystem.cpp
+++ b/zencore/filesystem.cpp
@@ -452,7 +452,8 @@ CloneFile(std::filesystem::path FromPath, std::filesystem::path ToPath)
return false;
#elif ZEN_PLATFORM_MAC
/* clonefile() syscall if APFS */
-# error not implemented
+ ZEN_UNUSED(FromPath, ToPath);
+ ZEN_ERROR("CloneFile() is not implemented on this platform");
return false;
#endif // ZEN_PLATFORM_WINDOWS
}