X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/da0b61dd4c6bf78c70cbb82bfd7d9e2c4748080a..6fa2dc60899234df7bde728354b58afa2779105e:/hints/bsdos.sh
diff --git a/hints/bsdos.sh b/hints/bsdos.sh
index ab56f99..53a5cd2 100644
--- a/hints/bsdos.sh
+++ b/hints/bsdos.sh
@@ -27,7 +27,7 @@ case "$usemallocwrap" in
esac
# setre?[ug]id() have been replaced by the _POSIX_SAVED_IDS versions.
-# See http://www.bsdi.com/bsdi-man?setuid(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 <&4
I did not know that BSD/OS $osvers supports POSIX threads.