diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-11-16 23:52:18 +0900 |
|---|---|---|
| committer | nagachika <nagachika@ruby-lang.org> | 2025-11-08 14:36:21 +0900 |
| commit | 3b060cfc6d3f26a9140465d6d040085b9e3e0dff (patch) | |
| tree | 28091fe1079bd01f812cebbc8756406cb3b20af1 | |
| parent | c5398d13977a22a470a17263ae38d773f5801606 (diff) | |
Workaround for VC 19.42.34433
Suddenly it began to add `_ucrt_int_to_float` by the recent version.
| -rwxr-xr-x | win32/mkexports.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/mkexports.rb b/win32/mkexports.rb index 389b49def8..8ab7d330b3 100755 --- a/win32/mkexports.rb +++ b/win32/mkexports.rb @@ -123,6 +123,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 |
