This matches what MSVC does. Signed-off-by: Martin Storsjö <[email protected]> --- mingw-w64-crt/def-include/msvcrt-common.def.in | 2 ++ mingw-w64-crt/lib-common/ucrtbase.def.in | 4 ++++ 2 files changed, 6 insertions(+)
diff --git a/mingw-w64-crt/def-include/msvcrt-common.def.in b/mingw-w64-crt/def-include/msvcrt-common.def.in index c0418fc..c76bc6a 100644 --- a/mingw-w64-crt/def-include/msvcrt-common.def.in +++ b/mingw-w64-crt/def-include/msvcrt-common.def.in @@ -98,7 +98,9 @@ ADD_UNDERSCORE(tzset) ADD_UNDERSCORE(umask) ADD_UNDERSCORE(ungetch) ADD_UNDERSCORE(unlink) +#ifndef UCRTBASE ADD_UNDERSCORE(utime) +#endif ADD_UNDERSCORE(wcsdup) ADD_UNDERSCORE(wcsicmp) ADD_UNDERSCORE(wcsicoll) diff --git a/mingw-w64-crt/lib-common/ucrtbase.def.in b/mingw-w64-crt/lib-common/ucrtbase.def.in index 25e863a..52c6310 100644 --- a/mingw-w64-crt/lib-common/ucrtbase.def.in +++ b/mingw-w64-crt/lib-common/ucrtbase.def.in @@ -371,6 +371,7 @@ _ftime64 _ftime64_s F_I386(_ftol) _fullpath +_futime == _futime32 _futime32 _futime64 _fwrite_nolock @@ -2025,6 +2026,7 @@ _unlink _unloaddll _unlock_file _unlock_locales +_utime == _utime32 _utime32 _utime64 _waccess @@ -2168,6 +2170,7 @@ _wtol_l _wtoll _wtoll_l _wunlink +_wutime == _wutime32 _wutime32 _wutime64 _y0 @@ -2579,6 +2582,7 @@ truncl unexpected ungetc ungetwc +utime == _utime32 wcrtomb wcrtomb_s wcscat -- 2.7.4 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
