This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
(perl #132087) correct *at() function detection on older darwin
[perl5.git] / hints / cygwin.sh
index 66e4d9b..20e0e58 100644 (file)
@@ -30,8 +30,8 @@ libswanted="$libswanted gdbm_compat"
 test -z "$optimize" && optimize='-O3'
 man3ext='3pm'
 test -z "$use64bitint" && use64bitint='define'
-test -z "$usethreads" && usethreads='define'
-ccflags="$ccflags -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__"
+test -z "$useithreads" && useithreads='define'
+ccflags="$ccflags -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -D_GNU_SOURCE"
 # - otherwise i686-cygwin
 archname='cygwin'