[PATCH] Prototype initstate() etc. if _XOPEN_SOURCE is defined appropriately

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Feb 19 13:23:00 GMT 2015

Hi Jon,

On Feb 19 13:00, Jon TURNEY wrote:
> 	* include/cygwin/stdlib.h (initstate, random, setstate, srandom):
> 	Check if __XSI_VISIBLE is set by sys/cdefs.h, rather than testing
> 	for _XOPEN_SOURCE directly, to work correctly when _GNU_SOURCE is
> 	set.

Looks good, please apply.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20150219/711ac3ef/attachment.sig>

More information about the Cygwin-patches mailing list