summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2024-11-17 10:54:20 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2024-11-17 10:54:20 +0900
commit6588cc4e29074d7b0d3d78725769d2efba1c25ee (patch)
treefe29522245e82b26a4f0bf29f27a3ffced6c0cea
parent3c30af77fea37a10b95a3fc322ff20d7086cab5f (diff)
Workaround for VC 19.42.34433 again
Prefix underscore is already removed here.
-rwxr-xr-xwin32/mkexports.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/mkexports.rb b/win32/mkexports.rb
index 4fc7e993c1..1250673c6f 100755
--- a/win32/mkexports.rb
+++ b/win32/mkexports.rb
@@ -122,7 +122,7 @@ class Exports::Mswin < Exports
elsif !l.sub!(/^(\S+) \([^@?\`\']*\)$/, '\1')
next
end
- next if /\A__+ucrt_/ =~ l
+ next if /\A_?ucrt_/ =~ l
when /DLL/
next unless l.sub!(/^\s*\d+\s+[[:xdigit:]]+\s+[[:xdigit:]]+\s+/, '')
else