crt: msvcrtd.def.in: Include 64-bit fixed size and time function aliases File msvcrtd.def.in contains only symbols from Microsoft Visual C++ 6.0 version of msvcrtd.dll as opposite of msvcrt.def.in which contains also other symbols available in later OS system versions of msvcrt.dll versions. There is no OS system versions of msvcrtd.dll. File msvcrt.def.in already contains 64-bit fixed size and time function aliases which are defined per-architecture, as msvcrt.dll contains different set of symbols for different architectures, and so cannot use some common aliases from include file crt-aliases.def.in. On the other hand, msvcrtd.dll is i386-only library, fixed to VC++ 6.0 version and can use all common aliases from crt-aliases.def.in. Currently msvcrtd.def.in do not have defined custom 64-bit fixed size and time function aliases and neither from crt-aliases.def.in file. Fix this problem and enable these aliases from crt-aliases.def.in file. This change allows to use functions like _findfirst32(), _fstat32() or _ctime32() in applications linking with msvcrtd.dll library. Signed-off-by: Martin Storsjö <martin@martin.st>
diff --git a/mingw-w64-crt/lib32/msvcrtd.def.in b/mingw-w64-crt/lib32/msvcrtd.def.in index d63cf9a..0231821 100644 --- a/mingw-w64-crt/lib32/msvcrtd.def.in +++ b/mingw-w64-crt/lib32/msvcrtd.def.in
@@ -855,8 +855,6 @@ #define PRE_C95_SWPRINTF #define FIXED_SIZE_SYMBOLS -#define NO_FIXED_SIZE_64_ALIAS -#define NO_TIME_ALIAS #define NO_STRCMPI_ALIAS #define WITH_NEXTAFTER_ALIAS #define WITH_IOB_FUNC_ALIAS