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/sqlite3.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/sqlite3.rc')
-rw-r--r-- | PC/sqlite3.rc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/PC/sqlite3.rc b/PC/sqlite3.rc index d2c18f8..9ae2aa0 100644 --- a/PC/sqlite3.rc +++ b/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" |