X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Flinux.sh;h=e152a6a3ce04b088fea91453bc6af4a60630494c;hb=f5e3445d922108beb0eda8afa05a86411da18e40;hp=4c40980cb531fe15ebc5155dfffdac1a12c2e5d4;hpb=d6b7ef8642dbff7f74dde11fd4995a37e8f38c04;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/linux.sh b/hints/linux.sh index 4c40980..e152a6a 100644 --- a/hints/linux.sh +++ b/hints/linux.sh @@ -249,7 +249,7 @@ esac cat > UU/usethreads.cbu <<'EOCBU' case "$usethreads" in $define|true|[yY]*) - ccflags="-D_REENTRANT -D_GNU_SOURCE $ccflags" + ccflags="-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS $ccflags" set `echo X "$libswanted "| sed -e 's/ c / pthread c /'` shift libswanted="$*" @@ -264,6 +264,7 @@ $define|true|[yY]*) d_ctime_r_proto="$define" d_gmtime_r_proto="$define" d_localtime_r_proto="$define" + d_random_r_proto="$define" ;; esac