https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4459b4f42be00a869f833…
commit 4459b4f42be00a869f833fd7bc5f1fe165f00eff
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Sun Sep 10 14:43:41 2023 +0300
Commit: GitHub <noreply(a)github.com>
CommitDate: Sun Sep 10 14:43:41 2023 +0300
[GETUNAME] Build only english on DBG builds (#5670)
This massively cuts down build time on MSVC builds.
Co-authored-by: Stanislav Motylkov <x86corez(a)gmail.com>
---
dll/win32/getuname/getuname.rc | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/dll/win32/getuname/getuname.rc b/dll/win32/getuname/getuname.rc
index ef05599696e..a326803e90e 100644
--- a/dll/win32/getuname/getuname.rc
+++ b/dll/win32/getuname/getuname.rc
@@ -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 */