diff --git a/templates/js-template-default/frameworks/runtime-src/proj.win32/game.rc b/templates/js-template-default/frameworks/runtime-src/proj.win32/game.rc index e2df7906f7..c47635f4cc 100644 --- a/templates/js-template-default/frameworks/runtime-src/proj.win32/game.rc +++ b/templates/js-template-default/frameworks/runtime-src/proj.win32/game.rc @@ -7,7 +7,7 @@ // // Generated from the TEXTINCLUDE 2 resource. // -#include "afxres.h" +#include "winresrc.h" ///////////////////////////////////////////////////////////////////////////// #undef APSTUDIO_READONLY_SYMBOLS @@ -27,7 +27,7 @@ LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED 2 TEXTINCLUDE BEGIN - "#include ""afxres.h""\r\n" + "#include ""winresrc.h""\r\n" "\0" END diff --git a/templates/js-template-runtime/frameworks/runtime-src/proj.win32/game.rc b/templates/js-template-runtime/frameworks/runtime-src/proj.win32/game.rc index 31e9582f75..7a6a59d90b 100644 --- a/templates/js-template-runtime/frameworks/runtime-src/proj.win32/game.rc +++ b/templates/js-template-runtime/frameworks/runtime-src/proj.win32/game.rc @@ -7,7 +7,7 @@ // // Generated from the TEXTINCLUDE 2 resource. // -#include "afxres.h" +#include "winresrc.h" ///////////////////////////////////////////////////////////////////////////// #undef APSTUDIO_READONLY_SYMBOLS @@ -27,7 +27,7 @@ LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED 2 TEXTINCLUDE BEGIN - "#include ""afxres.h""\r\n" + "#include ""winresrc.h""\r\n" "\0" END