Browse Source

bpo-45220: Ensure RT_MANIFEST is defined when compiling Windows resource files (GH-29501)

pull/23960/head
Steve Dower 4 years ago
committed by GitHub
parent
commit
a56fbad85e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      PC/pylauncher.rc
  2. 6
      PC/pyshellext.rc
  3. 6
      PC/python_exe.rc
  4. 6
      PC/python_nt.rc
  5. 6
      PC/pythonw_exe.rc
  6. 6
      PC/sqlite3.rc

5
PC/pylauncher.rc

@ -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"

6
PC/pyshellext.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"

6
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"

6
PC/python_nt.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.
2 RT_MANIFEST "python.manifest"

6
PC/pythonw_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"

6
PC/sqlite3.rc

@ -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…
Cancel
Save