summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2024-11-17 10:54:20 +0900
committernagachika <nagachika@ruby-lang.org>2025-11-08 14:36:32 +0900
commit3466ddbc0d05aa1dcf22164b2224409f6c24f289 (patch)
treee6af899251916298a99e9ea251878731722c1e55
parent3b060cfc6d3f26a9140465d6d040085b9e3e0dff (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 8ab7d330b3..631eb5003b 100755
--- a/win32/mkexports.rb
+++ b/win32/mkexports.rb
@@ -123,7 +123,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