This change makes sense.  Right now Eric is checking this change on
Fedora.  So we should wait for his results.  This might be something
we would like to back-merge later to the 4.x branch.
Btw Martell, the fopen_s emulation-function would be something good
IMO.  We should consider then emulation also for freopen_s, _wfopen_s,
_wfreopen_s, and fread_s.  We might want the unlocked-version there
too.

Kai

2015-01-28 22:00 GMT+01:00 Martell Malone <martellmal...@gmail.com>:
> This should fix the issue of windows programs assuming localtime_r and
> gmtime_r unavailable.
>
> if _POSIX_C_SOURCE is defined then we are specifically asking for them.
>
> Quote from
> http://pubs.opengroup.org/onlinepubs/007904975/functions/xsh_chap02_02.html
>
> "A POSIX-conforming application should ensure that the feature test macro
> _POSIX_C_SOURCE is defined before inclusion of any header."
>
> Any posix application that does not do this needs to be patched todo this
> and not mingw-w64 to accommodate them
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to