From 6588cc4e29074d7b0d3d78725769d2efba1c25ee Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 17 Nov 2024 10:54:20 +0900 Subject: [PATCH] Workaround for VC 19.42.34433 again Prefix underscore is already removed here. --- win32/mkexports.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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