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
commit 62df5bca4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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