diff options
author | Steve Dower <steve.dower@python.org> | 2021-11-09 20:12:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-09 20:12:53 (GMT) |
commit | a56fbad85ea655631bce68d4c0f47f1a8b500abd (patch) | |
tree | 514b12c286af7171164a943ec1133a5d352e1822 /PC/python_exe.rc | |
parent | cb414cf0e207668300c4fe3f310c0bd249153273 (diff) | |
download | cpython-a56fbad85ea655631bce68d4c0f47f1a8b500abd.zip cpython-a56fbad85ea655631bce68d4c0f47f1a8b500abd.tar.gz cpython-a56fbad85ea655631bce68d4c0f47f1a8b500abd.tar.bz2 |
bpo-45220: Ensure RT_MANIFEST is defined when compiling Windows resource files (GH-29501)
Diffstat (limited to 'PC/python_exe.rc')
-rw-r--r-- | PC/python_exe.rc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/PC/python_exe.rc b/PC/python_exe.rc index 5eba899..c3d3bff 100644 --- a/PC/python_exe.rc +++ b/PC/python_exe.rc @@ -2,6 +2,12 @@ #include "python_ver_rc.h" +#ifndef RT_MANIFEST +// bpo-45220: Cannot reliably #include RT_MANIFEST from +// anywhere, so we hardcode it +#define RT_MANIFEST 24 +#endif + // Include the manifest file that indicates we support all // current versions of Windows. 1 RT_MANIFEST "python.manifest" |