fix uclibc's st_mtim

reported and suggested by @ewildgoose (#1872)
This commit is contained in:
Yann Collet
2020-07-13 14:16:33 -07:00
parent bd21e4b264
commit 1dcc478796
+6
View File
@@ -102,6 +102,12 @@ extern "C" {
# define PLATFORM_POSIX_VERSION 1
# endif
# ifdef __UCLIBC__
# ifndef __USE_MISC
# define __USE_MISC /* enable st_mtim on uclibc */
# endif
# endif
# else /* non-unix target platform (like Windows) */
# define PLATFORM_POSIX_VERSION 0
# endif