Skip to content

Commit c0f3281

Browse files
bpo-45220: Remove invalid include from resource definition files on Windows (GH-29396) (GH-29406)
(cherry picked from commit fd0c84d) Co-authored-by: Steve Dower <[email protected]>
1 parent d729c80 commit c0f3281

File tree

7 files changed

+0
-9
lines changed

7 files changed

+0
-9
lines changed

PC/pylauncher.rc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
// Include the manifest file that indicates we support all
66
// current versions of Windows.
7-
#include <winuser.h>
87
1 RT_MANIFEST "python.manifest"
98

109
#if defined(PY_ICON)

PC/pyshellext.rc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
// Include the manifest file that indicates we support all
66
// current versions of Windows.
7-
#include <winuser.h>
87
1 RT_MANIFEST "python.manifest"
98

109
/////////////////////////////////////////////////////////////////////////////

PC/python_exe.rc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
// Include the manifest file that indicates we support all
66
// current versions of Windows.
7-
#include <winuser.h>
87
1 RT_MANIFEST "python.manifest"
98

109
1 ICON DISCARDABLE "icons\python.ico"

PC/python_nt.rc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
// Include the manifest file that indicates we support all
66
// current versions of Windows.
7-
#include <winuser.h>
87
2 RT_MANIFEST "python.manifest"
98

109
/////////////////////////////////////////////////////////////////////////////

PC/pythonw_exe.rc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
// Include the manifest file that indicates we support all
66
// current versions of Windows.
7-
#include <winuser.h>
87
1 RT_MANIFEST "python.manifest"
98

109
1 ICON DISCARDABLE "icons\pythonw.ico"

PC/sqlite3.rc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
// Include the manifest file that indicates we support all
66
// current versions of Windows.
7-
#include <winuser.h>
87
2 RT_MANIFEST "python.manifest"
98

109
/////////////////////////////////////////////////////////////////////////////

PCbuild/python.props

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,6 @@
107107
<!-- Sometimes the version in the registry has to .0 suffix, and sometimes it doesn't. Check and add it -->
108108
<_RegistryVersion Condition="$(_RegistryVersion) != '' and !$(_RegistryVersion.EndsWith('.0'))">$(_RegistryVersion).0</_RegistryVersion>
109109

110-
<!-- Avoid upgrading to Windows 11 SDK for now, but assume the latest Win10 SDK is installed -->
111-
<_RegistryVersion Condition="$([System.Version]::Parse($(_RegistryVersion))) >= $([System.Version]::Parse(`10.0.22000.0`))">10.0.19041.0</_RegistryVersion>
112-
113110
<!-- The minimum allowed SDK version to use for building -->
114111
<DefaultWindowsSDKVersion>10.0.10586.0</DefaultWindowsSDKVersion>
115112
<DefaultWindowsSDKVersion Condition="$(_RegistryVersion) != '' and $([System.Version]::Parse($(_RegistryVersion))) > $([System.Version]::Parse($(DefaultWindowsSDKVersion)))">$(_RegistryVersion)</DefaultWindowsSDKVersion>

0 commit comments

Comments
 (0)