aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-11-21 14:56:50 +0100
committerDan Engelbrecht <[email protected]>2024-11-21 14:56:50 +0100
commita33a29b7f91cc863c1ce3101f398eae888d2d037 (patch)
treee7e878c12d66cec637402d57dede1c68f2730d70
parenthide modification tick platform specific code (diff)
downloadzen-de/etag-for-oplog-chunks.tar.xz
zen-de/etag-for-oplog-chunks.zip
-rw-r--r--src/zencore/filesystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zencore/filesystem.cpp b/src/zencore/filesystem.cpp
index b922a2bd8..e17065385 100644
--- a/src/zencore/filesystem.cpp
+++ b/src/zencore/filesystem.cpp
@@ -1450,7 +1450,7 @@ GetModificationTickFromHandle(void* NativeHandle, std::error_code& Ec)
{
return ((uint64_t(LastWriteTime.dwHighDateTime) << 32) | LastWriteTime.dwLowDateTime);
}
-#elif #if ZEN_PLATFORM_LINUX || ZEN_PLATFORM_MAC
+#elif ZEN_PLATFORM_LINUX || ZEN_PLATFORM_MAC
int Fd = int(uintptr_t(NativeHandle));
struct stat Stat;
if (0 == fstat(Fd, &Stat))