aboutsummaryrefslogtreecommitdiff
path: root/platform/posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/posix.h')
-rw-r--r--platform/posix.h6
1 files changed, 5 insertions, 1 deletions
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 <stddef.h>
+#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
-
+