blob: efdb99ab62358b90858da254acbda5cb3b6dc019 [file] [log] [blame] [edit]
--- putty-0.72/mkfiles.pl.orig 2019-07-22 10:11:41.660392900 +0300
+++ putty-0.72/mkfiles.pl 2019-07-22 10:12:42.235299300 +0300
@@ -547,12 +547,12 @@
"# C compilation flags\n".
&splitline("CFLAGS = --target=\$(CCTARGET) /nologo /W3 /O1 -Wvla " .
(join " ", map {"-I$dirpfx$_"} @srcdirs) .
- " /D_WINDOWS /D_WIN32_WINDOWS=0x500 /DWINVER=0x500 ".
+ " /D_WINDOWS /D_WIN32_WINDOWS=0x0601 /DWINVER=0x0601 ".
"/D_CRT_SECURE_NO_WARNINGS /D_WINSOCK_DEPRECATED_NO_WARNINGS").
" \$(PLATFORMCFLAGS)\n".
"LFLAGS = /incremental:no /dynamicbase /nxcompat\n".
&splitline("RCPPFLAGS = ".(join " ", map {"-I$dirpfx$_"} @srcdirs).
- " -DWIN32 -D_WIN32 -DWINVER=0x0400")." \$(RCFL)\n".
+ " -DWIN32 -D_WIN32 -DWINVER=0x0601")." \$(RCFL)\n".
"\n".
&def($makefile_extra{'clangcl'}->{'vars'}) .
"\n".
@@ -638,7 +638,7 @@
"\n".
"LDFLAGS = -s\n".
&splitline("RCFLAGS = \$(RCINC) --define WIN32=1 --define _WIN32=1 ".
- "--define WINVER=0x0400 ".(join " ", map {"-I$dirpfx$_"} @srcdirs))."\n".
+ "--define WINVER=0x0601 ".(join " ", map {"-I$dirpfx$_"} @srcdirs))."\n".
"\n".
&def($makefile_extra{'cygwin'}->{'vars'}) .
"\n".
@@ -698,10 +698,10 @@
"# C compilation flags\n".
"CFLAGS = /nologo /W3 /O1 " .
(join " ", map {"-I$dirpfx$_"} @srcdirs) .
- " /D_WINDOWS /D_WIN32_WINDOWS=0x500 /DWINVER=0x500 /D_CRT_SECURE_NO_WARNINGS /D_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE\n".
+ " /D_WINDOWS /D_WIN32_WINDOWS=0x0601 /DWINVER=0x0601 /D_CRT_SECURE_NO_WARNINGS /D_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE\n".
"LFLAGS = /incremental:no /dynamicbase /nxcompat\n".
"RCFLAGS = ".(join " ", map {"-I$dirpfx$_"} @srcdirs).
- " -DWIN32 -D_WIN32 -DWINVER=0x0400\n".
+ " -DWIN32 -D_WIN32 -DWINVER=0x0601\n".
"\n".
&def($makefile_extra{'vc'}->{'vars'}) .
"\n".
--- putty-0.72/Recipe.orig 2019-07-22 10:09:17.098138800 +0300
+++ putty-0.72/Recipe 2019-07-22 10:09:31.808964700 +0300
@@ -226,7 +226,7 @@
# systems with IE5+ installed, such as some arguments to SHGetFolderPath().
# WINVER etc perform a similar function for FlashWindowEx().
CFLAGS += -D_WIN32_IE=0x0500
-CFLAGS += -DWINVER=0x0500 -D_WIN32_WINDOWS=0x0410 -D_WIN32_WINNT=0x0500
+CFLAGS += -DWINVER=0x0601 -D_WIN32_WINDOWS=0x0601 -D_WIN32_WINNT=0x0601
!end
# ------------------------------------------------------------