From: <wa...@us...> - 2013-04-04 10:22:59
|
Revision: 5722 http://mingw-w64.svn.sourceforge.net/mingw-w64/?rev=5722&view=rev Author: wavael Date: 2013-04-04 10:22:51 +0000 (Thu, 04 Apr 2013) Log Message: ----------- Provide _mkgmtime/_mkgmtime32/_mkgmtime64 for all msvcrt versions through .def files Remove _mkgmtime/_mkgmtime32 .c replacements msvcrt.dll does not provide these symbols in 32bits Modified Paths: -------------- trunk/mingw-w64-crt/Makefile.am trunk/mingw-w64-crt/lib32/msvcr100.def trunk/mingw-w64-crt/lib32/msvcr110.def trunk/mingw-w64-crt/lib32/msvcr80.def trunk/mingw-w64-crt/lib32/msvcr90.def trunk/mingw-w64-crt/lib32/msvcr90d.def trunk/mingw-w64-crt/lib32/msvcrt.def trunk/mingw-w64-crt/lib64/msvcr100.def trunk/mingw-w64-crt/lib64/msvcr110.def trunk/mingw-w64-crt/lib64/msvcr80.def trunk/mingw-w64-crt/lib64/msvcr90.def trunk/mingw-w64-crt/lib64/msvcr90d.def trunk/mingw-w64-crt/lib64/msvcrt.def Removed Paths: ------------- trunk/mingw-w64-crt/misc/_mkgmtime.c trunk/mingw-w64-crt/misc/_mkgmtime32.c Modified: trunk/mingw-w64-crt/Makefile.am =================================================================== --- trunk/mingw-w64-crt/Makefile.am 2013-04-04 10:22:16 UTC (rev 5721) +++ trunk/mingw-w64-crt/Makefile.am 2013-04-04 10:22:51 UTC (rev 5722) @@ -175,7 +175,6 @@ math/powi.def.h math/sin.def.h math/sqrt.def.h \ math/cephes_emath.h math/cephes_mconf.h math/fastmath.h math/fp_consts.h math/abs64.c \ \ - misc/_mkgmtime.c misc/_mkgmtime32.c \ misc/alarm.c \ misc/basename.c misc/btowc.c misc/delay-f.c misc/delay-n.c \ misc/delayimp.c misc/difftime.c misc/difftime32.c misc/difftime64.c misc/dirent.c \ Modified: trunk/mingw-w64-crt/lib32/msvcr100.def =================================================================== --- trunk/mingw-w64-crt/lib32/msvcr100.def 2013-04-04 10:22:16 UTC (rev 5721) +++ trunk/mingw-w64-crt/lib32/msvcr100.def 2013-04-04 10:22:51 UTC (rev 5722) @@ -1238,7 +1238,8 @@ _memicmp _memicmp_l _mkdir -_mkgmtime32 DATA +_mkgmtime32 +_mkgmtime == _mkgmtime32 _mkgmtime64 _mktemp _mktemp_s Modified: trunk/mingw-w64-crt/lib32/msvcr110.def =================================================================== --- trunk/mingw-w64-crt/lib32/msvcr110.def 2013-04-04 10:22:16 UTC (rev 5721) +++ trunk/mingw-w64-crt/lib32/msvcr110.def 2013-04-04 10:22:51 UTC (rev 5722) @@ -1372,6 +1372,7 @@ _memicmp_l _mkdir _mkgmtime32 +_mkgmtime == _mkgmtime32 _mkgmtime64 _mktemp _mktemp_s Modified: trunk/mingw-w64-crt/lib32/msvcr80.def =================================================================== --- trunk/mingw-w64-crt/lib32/msvcr80.def 2013-04-04 10:22:16 UTC (rev 5721) +++ trunk/mingw-w64-crt/lib32/msvcr80.def 2013-04-04 10:22:51 UTC (rev 5722) @@ -328,8 +328,8 @@ _mbstok _mbstrlen _mbsupr -_mkgmtime DATA -;_mkgmtime32 = _mkgmtime +_mkgmtime32 +_mkgmtime == _mkgmtime32 _mkgmtime64 _memccpy _memicmp Modified: trunk/mingw-w64-crt/lib32/msvcr90.def =================================================================== --- trunk/mingw-w64-crt/lib32/msvcr90.def 2013-04-04 10:22:16 UTC (rev 5721) +++ trunk/mingw-w64-crt/lib32/msvcr90.def 2013-04-04 10:22:51 UTC (rev 5722) @@ -866,7 +866,8 @@ _memicmp _memicmp_l _mkdir -_mkgmtime32 DATA +_mkgmtime32 +_mkgmtime == _mkgmtime32 _mkgmtime64 _mktemp _mktemp_s Modified: trunk/mingw-w64-crt/lib32/msvcr90d.def =================================================================== --- trunk/mingw-w64-crt/lib32/msvcr90d.def 2013-04-04 10:22:16 UTC (rev 5721) +++ trunk/mingw-w64-crt/lib32/msvcr90d.def 2013-04-04 10:22:51 UTC (rev 5722) @@ -930,6 +930,7 @@ _memicmp_l _mkdir _mkgmtime32 +_mkgmtime == _mkgmtime32 _mkgmtime64 _mktemp _mktemp_s Modified: trunk/mingw-w64-crt/lib32/msvcrt.def =================================================================== --- trunk/mingw-w64-crt/lib32/msvcrt.def 2013-04-04 10:22:16 UTC (rev 5721) +++ trunk/mingw-w64-crt/lib32/msvcrt.def 2013-04-04 10:22:51 UTC (rev 5722) @@ -727,9 +727,6 @@ ; _localtime32_s replaced by emu _localtime64 ; _localtime64_s replaced by emu -_mkgmtime DATA -;_mkgmtime32 = _mkgmtime -_mkgmtime64 _mbcasemap _mktime64 _osplatform DATA Modified: trunk/mingw-w64-crt/lib64/msvcr100.def =================================================================== --- trunk/mingw-w64-crt/lib64/msvcr100.def 2013-04-04 10:22:16 UTC (rev 5721) +++ trunk/mingw-w64-crt/lib64/msvcr100.def 2013-04-04 10:22:51 UTC (rev 5722) @@ -1190,8 +1190,9 @@ _memicmp _memicmp_l _mkdir -_mkgmtime32 DATA +_mkgmtime32 _mkgmtime64 +_mkgmtime == _mkgmtime64 _mktemp _mktemp_s _mktime32 Modified: trunk/mingw-w64-crt/lib64/msvcr110.def =================================================================== --- trunk/mingw-w64-crt/lib64/msvcr110.def 2013-04-04 10:22:16 UTC (rev 5721) +++ trunk/mingw-w64-crt/lib64/msvcr110.def 2013-04-04 10:22:51 UTC (rev 5722) @@ -1316,6 +1316,7 @@ _mkdir _mkgmtime32 _mkgmtime64 +_mkgmtime == _mkgmtime64 _mktemp _mktemp_s _mktime32 Modified: trunk/mingw-w64-crt/lib64/msvcr80.def =================================================================== --- trunk/mingw-w64-crt/lib64/msvcr80.def 2013-04-04 10:22:16 UTC (rev 5721) +++ trunk/mingw-w64-crt/lib64/msvcr80.def 2013-04-04 10:22:51 UTC (rev 5722) @@ -429,9 +429,9 @@ _memccpy _memicmp _mkdir -_mkgmtime DATA -;_mkgmtime32 = _mkgmtime +_mkgmtime32 _mkgmtime64 +_mkgmtime == _mkgmtime64 _mktemp _mktime64 mktime == _mktime64 Modified: trunk/mingw-w64-crt/lib64/msvcr90.def =================================================================== --- trunk/mingw-w64-crt/lib64/msvcr90.def 2013-04-04 10:22:16 UTC (rev 5721) +++ trunk/mingw-w64-crt/lib64/msvcr90.def 2013-04-04 10:22:51 UTC (rev 5722) @@ -808,8 +808,9 @@ _memicmp _memicmp_l _mkdir -_mkgmtime32 DATA +_mkgmtime32 _mkgmtime64 +_mkgmtime == _mkgmtime64 _mktemp _mktemp_s _mktime32 Modified: trunk/mingw-w64-crt/lib64/msvcr90d.def =================================================================== --- trunk/mingw-w64-crt/lib64/msvcr90d.def 2013-04-04 10:22:16 UTC (rev 5721) +++ trunk/mingw-w64-crt/lib64/msvcr90d.def 2013-04-04 10:22:51 UTC (rev 5722) @@ -867,6 +867,7 @@ _mkdir _mkgmtime32 _mkgmtime64 +_mkgmtime == _mkgmtime64 _mktemp _mktemp_s _mktime32 Modified: trunk/mingw-w64-crt/lib64/msvcrt.def =================================================================== --- trunk/mingw-w64-crt/lib64/msvcrt.def 2013-04-04 10:22:16 UTC (rev 5721) +++ trunk/mingw-w64-crt/lib64/msvcrt.def 2013-04-04 10:22:51 UTC (rev 5722) @@ -627,8 +627,7 @@ _memicmp _memicmp_l _mkdir -_mkgmtime DATA -;_mkgmtime32 = _mkgmtime +_mkgmtime _mkgmtime64 _mktemp ; _mktemp_s replaced by emu Deleted: trunk/mingw-w64-crt/misc/_mkgmtime.c =================================================================== --- trunk/mingw-w64-crt/misc/_mkgmtime.c 2013-04-04 10:22:16 UTC (rev 5721) +++ trunk/mingw-w64-crt/misc/_mkgmtime.c 2013-04-04 10:22:51 UTC (rev 5722) @@ -1,19 +0,0 @@ -#define __CRT__NO_INLINE -#include <time.h> - -/* FIXME: Relying on _USE_32BIT_TIME_T, which is a user-macro, -during CRT compilation is plainly broken. Need an appropriate -implementation to provide users the ability of compiling the -CRT only with 32-bit time_t behavior. */ - -#ifndef _USE_32BIT_TIME_T -time_t __cdecl _mkgmtime(struct tm *_Tm) -{ - return _mkgmtime64(_Tm); -} -#else -time_t __cdecl _mkgmtime(struct tm *_Tm) -{ - return _mkgmtime32(_Tm); -} -#endif Deleted: trunk/mingw-w64-crt/misc/_mkgmtime32.c =================================================================== --- trunk/mingw-w64-crt/misc/_mkgmtime32.c 2013-04-04 10:22:16 UTC (rev 5721) +++ trunk/mingw-w64-crt/misc/_mkgmtime32.c 2013-04-04 10:22:51 UTC (rev 5722) @@ -1,11 +0,0 @@ -#ifndef __NO_INLINE__ -#define __NO_INLINE__ -#endif -#include <time.h> - -extern __time32_t (__cdecl *__MINGW_IMP_SYMBOL(_mkgmtime))(struct tm *); - -__time32_t __cdecl _mkgmtime32(struct tm *_Tm) -{ - return (*__MINGW_IMP_SYMBOL(_mkgmtime))(_Tm); -} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |