[Mingw-w64-public] [PATCH] winpthread: use GetSystemTimeAsFileTime instead of _ftime

2014-09-26 Thread Jean-Baptiste Kempf
First, _ftime is not present in all msvcrt versions, then, _ftime is the "current local time". --- mingw-w64-libraries/winpthreads/src/misc.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mingw-w64-libraries/winpthreads/src/misc.c b/mingw-w64-libraries/winpthreads/sr

[Mingw-w64-public] windns.h: Don't use __MINGW_TYPEDEF_AW for DNS_RECORD typedef.

2014-09-26 Thread Jacek Caban
This one is a bit more tricky. See affected code: http://hg.mozilla.org/mozilla-central/file/9e3d649b80a2/netwerk/dns/GetAddrInfo.cpp#l41 Due to other bug in PSDK, some workarounds are needed. They #undef UNICODE for just one header. This, however, doesn't work on mingw-w64, because we use __MINGW

[Mingw-w64-public] windns.h: Added some missing defines.

2014-09-26 Thread Jacek Caban
Just a few of them. Please review. --- mingw-w64-headers/include/windns.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mingw-w64-headers/include/windns.h b/mingw-w64-headers/include/windns.h index 51c2220..35d4222 100644 --- a/mingw-w64-headers/include/windns.h +++ b/mingw-w64-headers/

[Mingw-w64-public] netioapi.h: Removed invalid versiob guard.

2014-09-26 Thread Jacek Caban
This doesn't exist in PSDK and causes errors in Mozilla code. --- mingw-w64-headers/include/netioapi.h | 4 1 file changed, 4 deletions(-) diff --git a/mingw-w64-headers/include/netioapi.h b/mingw-w64-headers/include/netioapi.h index 95f7f99..8355136 100644 --- a/mingw-w64-headers/include/