summaryrefslogtreecommitdiff
path: root/makedef.pl
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-07-25 14:13:51 +0200
committerNicholas Clark <nick@ccl4.org>2011-08-01 11:53:54 +0200
commitddd6f63f626d9c2ff5b343ad33e687fc4772f60a (patch)
tree6746378627089316976d4d7c32e29d79ab62a472 /makedef.pl
parentc960bcfdcc7a050c40badc398476447b9c3381d1 (diff)
downloadperl-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.pl6
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};
}
}