@@ -72,10 +72,10 @@ sub extract_syms
7272 next unless $pieces [6];
7373
7474 # Skip externs used from another compilation unit
75- next if ($pieces [2] eq " UNDEF" );
75+ next if ($pieces [2] eq ' UNDEF' );
7676
7777 # Skip static symbols
78- next unless ($pieces [4] eq " External" );
78+ next unless ($pieces [4] eq ' External' );
7979
8080 # Skip some more MSVC-generated crud
8181 next if $pieces [6] =~ / ^@/ ;
@@ -120,7 +120,7 @@ sub writedef
120120
121121 # Strip the leading underscore for win32, but not x64
122122 $f =~ s / ^_//
123- unless ($arch eq " x86_64" );
123+ unless ($arch eq ' x86_64' );
124124
125125 # Emit just the name if it's a function symbol, or emit the name
126126 # decorated with the DATA option for variables.
@@ -193,11 +193,11 @@ sub usage
193193
194194my $cmd = " dumpbin /nologo /symbols /out:$tmpfile " . join (' ' , @files );
195195
196- system ($cmd ) == 0 or die " Could not call dumpbin" ;
196+ system ($cmd ) == 0 or die ' Could not call dumpbin' ;
197197rename ($tmpfile , $symfile ) or die $! ;
198198extract_syms($symfile , \%def );
199199print " \n " ;
200200
201201writedef($deffile , $arch , \%def );
202202
203- print " Generated " . scalar (keys (%def )) . " symbols\n " ;
203+ print ' Generated ' . scalar (keys (%def )) . " symbols\n " ;
0 commit comments