@@ -72,10 +72,10 @@ sub extract_syms
72
72
next unless $pieces [6];
73
73
74
74
# Skip externs used from another compilation unit
75
- next if ($pieces [2] eq " UNDEF" );
75
+ next if ($pieces [2] eq ' UNDEF' );
76
76
77
77
# Skip static symbols
78
- next unless ($pieces [4] eq " External" );
78
+ next unless ($pieces [4] eq ' External' );
79
79
80
80
# Skip some more MSVC-generated crud
81
81
next if $pieces [6] =~ / ^@/ ;
@@ -120,7 +120,7 @@ sub writedef
120
120
121
121
# Strip the leading underscore for win32, but not x64
122
122
$f =~ s / ^_//
123
- unless ($arch eq " x86_64" );
123
+ unless ($arch eq ' x86_64' );
124
124
125
125
# Emit just the name if it's a function symbol, or emit the name
126
126
# decorated with the DATA option for variables.
@@ -193,11 +193,11 @@ sub usage
193
193
194
194
my $cmd = " dumpbin /nologo /symbols /out:$tmpfile " . join (' ' , @files );
195
195
196
- system ($cmd ) == 0 or die " Could not call dumpbin" ;
196
+ system ($cmd ) == 0 or die ' Could not call dumpbin' ;
197
197
rename ($tmpfile , $symfile ) or die $! ;
198
198
extract_syms($symfile , \%def );
199
199
print " \n " ;
200
200
201
201
writedef($deffile , $arch , \%def );
202
202
203
- print " Generated " . scalar (keys (%def )) . " symbols\n " ;
203
+ print ' Generated ' . scalar (keys (%def )) . " symbols\n " ;
0 commit comments