Merge pull request #2243 from facebook/uclibc

fix uclibc's st_mtim
This commit is contained in:
Yann Collet
2020-07-17 09:14:20 -07:00
committed by GitHub
+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