summaryrefslogtreecommitdiff
path: root/makedef.pl
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.berkeley.edu>2003-10-29 06:00:18 -0800
committerNicholas Clark <nick@ccl4.org>2003-11-02 18:22:16 +0000
commit839f2d996f8dceb7c802bf5113f02969658cc09d (patch)
tree31cbe92fcf6d4df0a555139b93ead70dafd6824d /makedef.pl
parentfd6da1dbe61cf51051553761cbf265ad20ec281a (diff)
downloadperl-839f2d996f8dceb7c802bf5113f02969658cc09d.tar.gz
OS/2 build
Message-ID: <20031029220017.GA26384@math.berkeley.edu> p4raw-id: //depot/perl@21620
Diffstat (limited to 'makedef.pl')
-rw-r--r--makedef.pl7
1 files changed, 6 insertions, 1 deletions
diff --git a/makedef.pl b/makedef.pl
index 6c6bafeeb3..3db62ab7eb 100644
--- a/makedef.pl
+++ b/makedef.pl
@@ -377,6 +377,8 @@ elsif ($PLATFORM eq 'os2') {
dlsym
dlerror
dlclose
+ dup2
+ dup
my_tmpfile
my_tmpnam
my_flock
@@ -1340,7 +1342,10 @@ foreach my $symbol (sort keys %export) {
}
if ($PLATFORM eq 'os2') {
- print "; LAST_ORDINAL=$sym_ord\n";
+ print <<EOP;
+ dll_perlmain=main
+; LAST_ORDINAL=$sym_ord
+EOP
}
sub emit_symbol {