This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #126632] improve diagnostics for the comctl32 test
[perl5.git] / hints / bsdos.sh
index ab56f99..53a5cd2 100644 (file)
@@ -27,7 +27,7 @@ case "$usemallocwrap" in
 esac
 
 # setre?[ug]id() have been replaced by the _POSIX_SAVED_IDS versions.
-# See <A HREF="http://www.bsdi.com/bsdi-man?setuid">http://www.bsdi.com/bsdi-man?setuid</A>(2)
+# See man 2 setuid
 d_setregid='undef'
 d_setreuid='undef'
 d_setrgid='undef'
@@ -120,7 +120,7 @@ cat > UU/usethreads.cbu <<'EOCBU'
 case "$usethreads" in
 $define|true|[yY]*)
        case "$osvers" in 
-       3.*|4.*)        ccflags="-D_REENTRANT $ccflags" 
+       3.*|4.*)        ccflags="-D_REENTRANT -D_THREAD_SAFE -pthread $ccflags"
            ;;
        *)   cat <<EOM >&4
 I did not know that BSD/OS $osvers supports POSIX threads.