diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-07-25 14:13:51 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-08-01 11:53:54 +0200 |
commit | ddd6f63f626d9c2ff5b343ad33e687fc4772f60a (patch) | |
tree | 6746378627089316976d4d7c32e29d79ab62a472 /makedef.pl | |
parent | c960bcfdcc7a050c40badc398476447b9c3381d1 (diff) | |
download | perl-ddd6f63f626d9c2ff5b343ad33e687fc4772f60a.tar.gz |
In makedef.pl, NetWare can't export perl_clone_host without USE_ITHREADS.
NetWare/nw5.c conditionally compiles perl_clone_host only if USE_ITHREADS is
defined. It can't be added to the export list if it isn't compiled.
NetWare/config.wc has useithreads='define'
Diffstat (limited to 'makedef.pl')
-rw-r--r-- | makedef.pl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/makedef.pl b/makedef.pl index 84783903e6..22d989ed81 100644 --- a/makedef.pl +++ b/makedef.pl @@ -221,8 +221,10 @@ elsif ($PLATFORM eq 'netware') { print "EXPORTS\n"; } if ($define{PERL_IMPLICIT_SYS}) { - ++$export{$_} - foreach qw(perl_get_host_info perl_alloc_override perl_clone_host); + ++$export{$_} foreach qw(perl_get_host_info perl_alloc_override); + } + if ($define{USE_ITHREADS} and $define{PERL_IMPLICIT_SYS}) { + ++$export{perl_clone_host}; } } |