Those were removed as part of commit:
http://sourceforge.net/p/mingw-w64/mingw-w64/ci/6a4110da387155e5e703d04dd57c16240657593a

Looking at the commit message, it's surprising that they were removed.
It's definitely not a typo nor regenerated Makefile.

This causes redefinition error in Mozilla code.

---
 mingw-w64-headers/crt/time.h | 2 ++
 1 file changed, 2 insertions(+)


diff --git a/mingw-w64-headers/crt/time.h b/mingw-w64-headers/crt/time.h
index 069096f..e880558 100644
--- a/mingw-w64-headers/crt/time.h
+++ b/mingw-w64-headers/crt/time.h
@@ -169,10 +169,12 @@ char *__cdecl ctime(const time_t *_Time) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
 struct tm *__cdecl gmtime(const time_t *_Time) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
 struct tm *__cdecl localtime(const time_t *_Time) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
 
+#if defined(_POSIX) || defined(_POSIX_THREAD_SAFE_FUNCTIONS)
 struct tm *__cdecl localtime_r(const time_t *_Time, struct tm *_Tm);
 struct tm *__cdecl gmtime_r(const time_t *_Time, struct tm *_Tm);
 char *__cdecl ctime_r(const time_t *_Time, char * _Str);
 char *__cdecl asctime_r(const struct tm *_Tm, char * _Str);
+#endif /* _POSIX */
 
 time_t __cdecl mktime(struct tm *_Tm);
 time_t __cdecl _mkgmtime(struct tm *_Tm);

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to