summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-03-15 16:07:58 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-03-15 16:07:58 +0000
commit10bc17b68c7666cd045658934ccb75dd788c8972 (patch)
tree0a97f4e9c6e3aa079acc3ca0c75d94be194c1387 /hints
parent6ab308ee9dcbdd9e40dc1aa7ca450e7f854eb8fe (diff)
downloadperl-10bc17b68c7666cd045658934ccb75dd788c8972.tar.gz
Monster _r patch: try to scan for all known _r variants,
and then use them (under ithreads). May fail in HP-UX, and the op/groups is known to be fickle everywhere. Known to work in Solaris, Linux, Tru64, IRIX, AIX. (Some compiler warnings in AIX since the first arguments of getnetbyaddr and getnetbyadd_r are of different types. Thanks, IBM.) In non-Configure platforms deny the existence of any of the _r thingies. (Also add the recently introduced d_tm_* to places it wasn't already in.) TODO: the suggested glibc buffer growth retry loop in case some entries (at least for: gr*, host*) are big. Forgot win32/config.win64. p4raw-id: //depot/perl@15238
Diffstat (limited to 'hints')
-rw-r--r--hints/hpux.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh
index 5f223cb2b2..77a6463df9 100644
--- a/hints/hpux.sh
+++ b/hints/hpux.sh
@@ -477,7 +477,7 @@ EOM
fi
else
# 12 may want upping the _POSIX_C_SOURCE datestamp...
- ccflags=" -D_POSIX_C_SOURCE=199506L $ccflags"
+ ccflags=" -D_POSIX_C_SOURCE=199506L -D_REENTRANT $ccflags"
set `echo X "$libswanted "| sed -e 's/ c / pthread c /'`
shift
libswanted="$*"