From 3da9fff2a5bed7f840e75c5cf03e00a522ebf06a Mon Sep 17 00:00:00 2001 From: Alexander Frick Date: Tue, 2 Dec 2025 21:28:01 -0600 Subject: [PATCH] only embed manifest in .rc if mingw --- src/resource.rc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/resource.rc b/src/resource.rc index 89f53b7..a44439b 100644 --- a/src/resource.rc +++ b/src/resource.rc @@ -13,13 +13,17 @@ #include "windows.h" #undef APSTUDIO_HIDDEN_SYMBOLS #include "winres.h" +#ifdef __MINGW32__ #include "winuser.h" +#endif ///////////////////////////////////////////////////////////////////////////// #undef APSTUDIO_READONLY_SYMBOLS +#ifdef __MINGW32__ // Embed manifest for common controls and DPI support 1 RT_MANIFEST "xp_activate32.manifest" +#endif #ifdef APSTUDIO_INVOKED /////////////////////////////////////////////////////////////////////////////