This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
stdio.h on Cygwin doesn't expose cuserid() with _GNU_SOURCE
authorTony Cook <tony@develop-help.com>
Thu, 29 Nov 2018 03:12:01 +0000 (14:12 +1100)
committerTony Cook <tony@develop-help.com>
Thu, 29 Nov 2018 03:18:44 +0000 (14:18 +1100)
commit042887faee685e7b2ad2ee466b72d5ab30e2bc54
tree2eec9e199f449a8309282e2e0f22498bd7ed0746
parent285aa1f07d8a8489d61c81aa996588eaf8e513c5
stdio.h on Cygwin doesn't expose cuserid() with _GNU_SOURCE

It's probably possible to expose it by setting _XOPEN_SOURCE to
some specific value, but this appears to be a bug.

https://cygwin.com/ml/cygwin/2018-11/msg00230.html
ext/POSIX/POSIX.xs
ext/POSIX/lib/POSIX.pm