# HG changeset patch # User Dan Nicholson # Date 1378776206 -3600 # Tue Sep 10 02:23:26 2013 +0100 # Node ID 206f4d6c0528548dd6301651b49e8a8a3706e33e # Parent 11294aad5ce797d7e0739d3222190d19f0d620e8 Issue #11598: Workaround needed afxres.h for bdist_wininst We can instead just include windows.h and define IDC_STATIC to -1. diff -r 11294aad5ce7 -r 206f4d6c0528 PC/bdist_wininst/install.rc --- a/PC/bdist_wininst/install.rc Mon Sep 09 15:20:09 2013 +0100 +++ b/PC/bdist_wininst/install.rc Tue Sep 10 02:23:26 2013 +0100 @@ -16,7 +16,8 @@ // // Generated from the TEXTINCLUDE 2 resource. // -#include "afxres.h" +#include +#define IDC_STATIC (-1) ///////////////////////////////////////////////////////////////////////////// #undef APSTUDIO_READONLY_SYMBOLS @@ -62,7 +63,8 @@ 2 TEXTINCLUDE DISCARDABLE BEGIN - "#include ""afxres.h""\r\n" + "#include \r\n" + "#define IDC_STATIC (-1)\r\n" "\0" END