summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--win32/Makefile.sub3
-rwxr-xr-xwin32/mkexports.rb1
2 files changed, 3 insertions, 1 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index b508b50124..ce4ea06c92 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -163,6 +163,9 @@ OPTFLAGS = -O2b2xg-
OPTFLAGS = -O2sy-
!endif
!endif
+!if $(MSC_VER) >= 1900
+OPTFLAGS = $(OPTFLAGS) -Zc:inline
+!endif
!if !defined(incflags)
incflags =
!endif
diff --git a/win32/mkexports.rb b/win32/mkexports.rb
index 1250673c6f..1a37c7ee91 100755
--- a/win32/mkexports.rb
+++ b/win32/mkexports.rb
@@ -122,7 +122,6 @@ 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