Make the MinGW32 build compatible with MinGW runtime 4.x.
authorEli Zaretskii <eliz@gnu.org>
Sat, 12 Oct 2013 13:11:14 +0000 (16:11 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 12 Oct 2013 13:11:14 +0000 (16:11 +0300)
commit2f4586ad044ba5deedadbccd4ad913c565ca3367
tree439405a79aaf07dab0c37fb518ce2d2063ccd781
parent18f19af2a797ac472dee3bd226fbd8c327f04fb6
Make the MinGW32 build compatible with MinGW runtime 4.x.

 nt/inc/dirent.h (struct dirent) [__MINGW_MAJOR_VERSION >= 4]: Make
 the layout of 'struct dirent' be compatible with MinGW32 runtime
 versions 4.0 and later.
 nt/inc/ms-w32.h (__MINGW_MAJOR_VERSION, __MINGW_MINOR_VERSION)
 (__MINGW_PATCHLEVEL) [!__MINGW64_VERSION_MAJOR]: Define, if not
 defined, but not for MinGW64.
 (_USE_32BIT_TIME_T) [__MINGW64_VERSION_MAJOR]: Define, to force
 use of 32-bit time_t type.
nt/ChangeLog
nt/inc/dirent.h
nt/inc/ms-w32.h