Skip to content

Commit 80cfa57

Browse files
committed
[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
1 parent 770ca58 commit 80cfa57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

win32/Makefile.sub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ PLATFORM = mswin32
176176
!error RT not defined. Retry from configure pass.
177177
!endif
178178
!ifndef NTVER
179-
NTVER = 0x0600
179+
NTVER = 0x0602 # _WIN32_WINNT_WIN8
180180
!endif
181181
!ifdef NTVER
182182
ARCHDEFS = -D_WIN32_WINNT=$(NTVER) $(ARCHDEFS)

0 commit comments

Comments
 (0)