projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b28bc9
)
FreeBSD is lying to us: there is no threadsafe gethostbyaddr_r.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Sat, 16 Mar 2002 18:29:26 +0000
(18:29 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Sat, 16 Mar 2002 18:29:26 +0000
(18:29 +0000)
p4raw-id: //depot/perl@15262
hints/freebsd.sh
patch
|
blob
|
history
diff --git
a/hints/freebsd.sh
b/hints/freebsd.sh
index
8b324da
..
394abb8
100644
(file)
--- a/
hints/freebsd.sh
+++ b/
hints/freebsd.sh
@@
-210,7
+210,13
@@
EOM
exit 1
fi
ldflags="-pthread $ldflags"
- ccflags="-D_THREAD_SAFE $ccflags"
+ case "$osvers" in
+ 4.5*) # 4.5 has gethostbyaddr_r but it is
+ # "Temporary function, not threadsafe"...
+ d_gethostbyaddr_r="undef"
+ d_gethostbyaddr_r_proto="undef"
+ ;;
+ esac
;;
esac