diff options
Diffstat (limited to 'win32/makedef.pl')
-rw-r--r-- | win32/makedef.pl | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/win32/makedef.pl b/win32/makedef.pl index 55b3e29bcd..d87cbedac2 100644 --- a/win32/makedef.pl +++ b/win32/makedef.pl @@ -31,10 +31,13 @@ warn join(' ',keys %define)."\n"; my $CCTYPE = shift || "MSVC"; -print "LIBRARY Perl\n"; -print "DESCRIPTION 'Perl interpreter, export autogenerated'\n"; -print "CODE LOADONCALL\n"; -print "DATA LOADONCALL NONSHARED MULTIPLE\n"; +if ($CCTYPE ne 'GCC') + { + print "LIBRARY Perl\n"; + print "DESCRIPTION 'Perl interpreter, export autogenerated'\n"; + print "CODE LOADONCALL\n"; + print "DATA LOADONCALL NONSHARED MULTIPLE\n"; + } print "EXPORTS\n"; $skip_sym=<<'!END!OF!SKIP!'; @@ -214,6 +217,8 @@ if ($define{'USE_THISPTR'} || $define{'USE_THREADS'}) unless ($define{'USE_THREADS'}) { $skip_sym .= "Perl_thread_create\n"; + $skip_sym .= "Perl_find_threadsv\n"; + $skip_sym .= "Perl_threadsv_names\n"; } # All symbols have a Perl_ prefix because that's what embed.h |