This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Revive threaded builds for AIX
authorH.Merijn Brand <h.m.brand@xs4all.nl>
Sat, 13 Mar 2010 14:29:49 +0000 (15:29 +0100)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Sat, 13 Mar 2010 14:29:49 +0000 (15:29 +0100)
If random_r is disabled, so should srandom_r be. Changes in a distant
caused errors like:

"reentr.h", line 773.16: 1506-007 (S) "struct random_data" is undefined.

hints/aix.sh

index 8d06c9f..63f245f 100644 (file)
@@ -234,6 +234,7 @@ case "$usethreads" in
        d_setgrent_r='undef'
        d_setpwent_r='undef'
        d_srand48_r='undef'
+       d_srandom_r='undef'
        d_strerror_r='undef'
 
        ccflags="$ccflags -DNEED_PTHREAD_INIT"