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
commit59ad941d06909cf9027c5fb10edca7d68fc7149b (patch)
tree31cbe92fcf6d4df0a555139b93ead70dafd6824d /makedef.pl
parentdf500c58e3444bfdd2437855ea268d802281b50e (diff)
downloadperl-59ad941d06909cf9027c5fb10edca7d68fc7149b.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 {