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

Attachment: 0001-Use-a-Guard-defined-by-the-spec-and-not-_POSIX.-This.patch
Description: Binary data

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