Include Walon resources conditionally

Pavel Roskin proski at gnu.org
Sun Sep 7 12:42:33 CDT 2003


Hello!

Resources in Walon language should be included conditionally, only if
LANG_WALON is defined.  LANG_WALON is not defined on Windows.  This patch
makes it easier to port Wine programs to Windows.

Changelog:
	Include Walon resources only if LANG_WALON is defined in clock,
	notepad and winhelp.  LANG_WALON is not defined on Windows.

-- 
Regards,
Pavel Roskin
-------------- next part --------------
--- programs/clock/rsrc.rc
+++ programs/clock/rsrc.rc
@@ -35,5 +35,7 @@
 #include "Si.rc"
 #include "Sk.rc"
 #include "Sw.rc"
+#ifdef LANG_WALON
 #include "Wa.rc"
+#endif
 #include "Zh.rc"
--- programs/notepad/rsrc.rc
+++ programs/notepad/rsrc.rc
@@ -52,5 +52,7 @@
 #include "Si.rc"
 #include "Sk.rc"
 #include "Sw.rc"
+#ifdef LANG_WALON
 #include "Wa.rc"
+#endif
 #include "Zh.rc"
--- programs/winhelp/rsrc.rc
+++ programs/winhelp/rsrc.rc
@@ -37,5 +37,7 @@
 #include "Si.rc"
 #include "Sk.rc"
 #include "Sw.rc"
+#ifdef LANG_WALON
 #include "Wa.rc"
+#endif
 #include "Zh.rc"


More information about the wine-patches mailing list