diff --git a/win32/mkexports.rb b/win32/mkexports.rb index 1a37c7ee91..4fc7e993c1 100755 --- a/win32/mkexports.rb +++ b/win32/mkexports.rb @@ -122,6 +122,7 @@ class Exports::Mswin < Exports elsif !l.sub!(/^(\S+) \([^@?\`\']*\)$/, '\1') next end + next if /\A__+ucrt_/ =~ l when /DLL/ next unless l.sub!(/^\s*\d+\s+[[:xdigit:]]+\s+[[:xdigit:]]+\s+/, '') else