diff options
Diffstat (limited to 'makedef.pl')
-rw-r--r-- | makedef.pl | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/makedef.pl b/makedef.pl index f165a90b86..ed882aeaf0 100644 --- a/makedef.pl +++ b/makedef.pl @@ -161,7 +161,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; |