mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-45220: Ensure RT_MANIFEST is defined when compiling Windows resource files (GH-29501)
(cherry picked from commit a56fbad85e
)
Co-authored-by: Steve Dower <steve.dower@python.org>
This commit is contained in:
parent
9f9a3028e3
commit
32d14b262d
6 changed files with 35 additions and 0 deletions
|
@ -2,6 +2,11 @@
|
|||
|
||||
#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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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.
|
||||
2 RT_MANIFEST "python.manifest"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -2,6 +2,12 @@
|
|||
|
||||
#include <winver.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.
|
||||
2 RT_MANIFEST "python.manifest"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue