commit: baafdd7f3357f17014dc79e7bb174f7654807e10
parent: bc38a7f60a935d0aeb37889c363c4f0635f7d9d3
author: Brian Callahan <dodonpachi-github@mailinator.com>
date: Sun, 24 Sep 2017 11:14:56 -0400
Add some struct stat compat for Mac OS X.
1 file changed, 3 insertions(+)
diff --git a/portable/darwin/darwin.h b/portable/darwin/darwin.h
@@ -25,6 +25,9 @@
(y)->tv_sec = mts.tv_sec; \
(y)->tv_nsec = mts.tv_nsec;
+/* struct stat compatibility */
+#define st_mtim st_mtimespec
+
/* From OpenBSD sys/time.h */
#define timespeccmp(tsp, usp, cmp) \
(((tsp)->tv_sec == (usp)->tv_sec) ? \