From 047718235df457cae482eb0f92b06697964f37a6 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 1 Mar 2026 09:18:26 +0200 Subject: dfm: add initial macOS support. Thanks to Pinix for the report and necessary changes. --- platform/posix.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'platform/posix.h') diff --git a/platform/posix.h b/platform/posix.h index d098030..611e569 100644 --- a/platform/posix.h +++ b/platform/posix.h @@ -24,6 +24,10 @@ #include +#define ST_ATIM(s) st_atime +#define ST_MTIM(s) st_mtime +#define ST_CTIM(s) st_ctime + struct platform { void *_pad; }; @@ -58,4 +62,4 @@ fs_watch_free(struct platform *p) } #endif // DFM_PLATFORM_POSIX_H - + -- cgit v1.2.3