[GETUNAME] Build only english on DBG builds (#5670)

This massively cuts down build time on MSVC builds.

Co-authored-by: Stanislav Motylkov <x86corez@gmail.com>
This commit is contained in:
Timo Kreuzer 2023-09-10 14:43:41 +03:00 committed by GitHub
parent a1ee35bdb2
commit 4459b4f42b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,10 @@
/* UTF-8 */
#pragma code_page(65001)
/* Only use english on debug builds to reduce compile time */
#if DBG
#include "lang/en-US.rc"
#else
#ifdef LANGUAGE_DE_DE
#include "lang/de-DE.rc"
#endif
@ -39,3 +43,4 @@
#ifdef LANGUAGE_ZH_TW
#include "lang/zh-TW.rc"
#endif
#endif /* DBG */