mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[Feature #20563] Update required Windows version
Update the default `NTVER`, so that the declarations of APIs introduced since Windows 8 will be enabled. https://learn.microsoft.com/cpp/porting/modifying-winver-and-win32-winnt
This commit is contained in:
parent
770ca58cd3
commit
80cfa57234
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ PLATFORM = mswin32
|
|||
!error RT not defined. Retry from configure pass.
|
||||
!endif
|
||||
!ifndef NTVER
|
||||
NTVER = 0x0600
|
||||
NTVER = 0x0602 # _WIN32_WINNT_WIN8
|
||||
!endif
|
||||
!ifdef NTVER
|
||||
ARCHDEFS = -D_WIN32_WINNT=$(NTVER) $(ARCHDEFS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue