summaryrefslogtreecommitdiff
path: root/makedef.pl
diff options
context:
space:
mode:
Diffstat (limited to 'makedef.pl')
-rw-r--r--makedef.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/makedef.pl b/makedef.pl
index 7586f71bcf..d87029377d 100644
--- a/makedef.pl
+++ b/makedef.pl
@@ -259,6 +259,7 @@ threads_mutex
nthreads
nthreads_cond
os2_cond_wait
+os2_stat
pthread_join
pthread_create
pthread_detach
@@ -654,7 +655,8 @@ elsif ($PLATFORM eq 'os2') {
/^\s*[\da-f:]+\s+(\w+)/i and $mapped{$1}++ foreach <MAP>;
close MAP or die 'Cannot close miniperl.map';
- @missing = grep { !exists $mapped{$_} } keys %export;
+ @missing = grep { !exists $mapped{$_} and !exists $bincompat5005{$_} }
+ keys %export;
delete $export{$_} foreach @missing;
}