aboutsummaryrefslogtreecommitdiff
path: root/platform/linux.h
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2026-03-01 09:18:26 +0200
committerDylan Araps <dylan.araps@gmail.com>2026-03-01 09:18:26 +0200
commit047718235df457cae482eb0f92b06697964f37a6 (patch)
treeeb63e295dd0cc1b12f4027f125c0415f6c66f803 /platform/linux.h
parent4d9826548a8ea82a71cf70e9f60704909966d038 (diff)
dfm: add initial macOS support.
Thanks to Pinix for the report and necessary changes.
Diffstat (limited to 'platform/linux.h')
-rw-r--r--platform/linux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/linux.h b/platform/linux.h
index 09b972d..2fd6718 100644
--- a/platform/linux.h
+++ b/platform/linux.h
@@ -31,6 +31,10 @@
#include "../lib/util.h"
+#define ST_ATIM st_atim.tv_sec
+#define ST_MTIM st_mtim.tv_sec
+#define ST_CTIM st_ctim.tv_sec
+
struct platform {
int inotify_wd;
int inotify_fd;