https://bugzilla.redhat.com/show_bug.cgi?id=1067110



--- Comment #13 from Jens Petersen <[email protected]> ---
https://github.com/ghc/ghc/blob/master/includes/Stg.h#L49 currently has:

:
#ifndef IN_STG_CODE
# define IN_STG_CODE 1

// Turn on C99 for .hc code.  This gives us the INFINITY and NAN
// constants from math.h, which we occasionally need to use in .hc (#1861)
# define _ISOC99_SOURCE

// We need _BSD_SOURCE so that math.h defines things like gamma
// on Linux
# define _BSD_SOURCE
#endif
:

Any suggestions for now to update that to prefer _DEFAULT_SOURCE
upstream in a portable manner?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
golang mailing list
[email protected]
https://lists.fedoraproject.org/mailman/listinfo/golang

Reply via email to