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
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
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/
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/