summaryrefslogtreecommitdiffstats
path: root/PC/pythonw_exe.rc
diff options
context:
space:
mode:
Diffstat (limited to 'PC/pythonw_exe.rc')
-rw-r--r--PC/pythonw_exe.rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/PC/pythonw_exe.rc b/PC/pythonw_exe.rc
index 562652b..38570b7 100644
--- a/PC/pythonw_exe.rc
+++ b/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"