Re: [Mingw-w64-public] [PATCH] timeb.h: declare _ftime32 function, define _ftime according to _USE_32BIT_TIME_T

2018-11-05 Thread Earnie via Mingw-w64-public
On 11/5/2018 11:49 AM, Mateusz wrote: > functions. In my patch we use _ftime32 and _ftime64 functions and we define > _ftime to _ftime32 or _ftime64. It should work on WinXP because _ftime32 is > aliased as _ftime for 32-bit libmsvcrt.a. > But what about 32bit Win10? Does this idea still

Re: [Mingw-w64-public] [PATCH] timeb.h: declare _ftime32 function, define _ftime according to _USE_32BIT_TIME_T

2018-11-05 Thread Mateusz
W dniu 05.11.2018 o 16:53, Earnie via Mingw-w64-public pisze: > On 11/4/2018 2:02 PM, Mateusz wrote: > >> (but in _mingw.h we always define _USE_32BIT_TIME_T for 32-bit) > > This is a wrong implementation. 32-bit Windows supports 64-bit time_t. > 32-bit time_t should only be used if

Re: [Mingw-w64-public] [PATCH] timeb.h: declare _ftime32 function, define _ftime according to _USE_32BIT_TIME_T

2018-11-05 Thread Earnie via Mingw-w64-public
On 11/4/2018 2:02 PM, Mateusz wrote: > (but in _mingw.h we always define _USE_32BIT_TIME_T for 32-bit) This is a wrong implementation. 32-bit Windows supports 64-bit time_t. 32-bit time_t should only be used if _USE_32BIT_TIME_T is set. _USE_32BIT_TIME_T functions might not be in the MSVCRT.DLL