From: Artur Bergman Date: Fri, 3 Jan 2003 08:23:16 +0000 (+0000) Subject: Under darwin 6.0+ (MacOSX 10.2) we have threadsafe X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9bff986ac099639cb63c1af35bf85e00cdb370c7;p=p5sagit%2Fp5-mst-13.2.git Under darwin 6.0+ (MacOSX 10.2) we have threadsafe libc_r functions. p4raw-id: //depot/perl@18406 --- diff --git a/hints/darwin.sh b/hints/darwin.sh index 777960e..7565935 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