summaryrefslogtreecommitdiff
path: root/makedef.pl
diff options
context:
space:
mode:
Diffstat (limited to 'makedef.pl')
-rw-r--r--makedef.pl10
1 files changed, 9 insertions, 1 deletions
diff --git a/makedef.pl b/makedef.pl
index 56008efb22..300f9e8219 100644
--- a/makedef.pl
+++ b/makedef.pl
@@ -163,7 +163,15 @@ EXPORTS
---EOP---
}
elsif ($PLATFORM eq 'aix') {
- print "#!\n";
+ $OSVER = `uname -v`;
+ chop $OSVER;
+ $OSREL = `uname -r`;
+ chop $OSREL;
+ if ($OSVER > 4 || ($OSVER == 4 && $OSREL >= 3)) {
+ print "#! ..\n";
+ } else {
+ print "#!\n";
+ }
}
my %skip;