Files
termux-packages/packages/blade/src-blade_file.c.patch

19 lines
393 B
Diff
Raw Permalink Normal View History

2022-01-30 09:12:22 +09:00
--- a/src/blade_file.c
2023-02-01 07:05:53 +09:00
+++ b/src/file.c
2022-01-30 09:12:22 +09:00
@@ -23,6 +23,15 @@
#endif /* ifdef HAVE_SYS_TIME_H */
#include <time.h>
+#ifdef __ANDROID__
+#undef st_atimespec
+#define st_atimespec st_atim
+#undef st_mtimespec
+#define st_mtimespec st_mtim
+#undef st_ctimespec
+#define st_ctimespec st_ctim
+#endif
+
#ifdef _WIN32
/* Symbolic links aren't really a 'thing' on Windows, so just use plain-old