From 9bff986ac099639cb63c1af35bf85e00cdb370c7 Mon Sep 17 00:00:00 2001 From: Artur Bergman Date: Fri, 3 Jan 2003 08:23:16 +0000 Subject: Under darwin 6.0+ (MacOSX 10.2) we have threadsafe libc_r functions. p4raw-id: //depot/perl@18406 --- hints/darwin.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'hints/darwin.sh') diff --git a/hints/darwin.sh b/hints/darwin.sh index 777960e2b9..7565935274 100644 --- a/hints/darwin.sh +++ b/hints/darwin.sh @@ -147,7 +147,10 @@ firstmakefile=GNUmakefile; # case "$usethreads$useithreads" in *define*) - cat <&4 + case "$osvers" in + [12345].*) cat <&4 + + *** Warning, there might be problems with your libraries with *** regards to threading. The test ext/threads/t/libc.t is likely @@ -155,4 +158,7 @@ case "$usethreads$useithreads" in EOM ;; + *) usereentrant='define';; + esac + esac -- cgit v1.2.1