[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src gettext.hpp
From: |
Guillaume Melquiond |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src gettext.hpp |
Date: |
Thu, 21 Apr 2005 16:38:10 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Guillaume Melquiond <address@hidden> 05/04/21 20:38:10
Modified files:
src : gettext.hpp
Log message:
Fix compilation warning caused by macro redefinition.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/gettext.hpp.diff?tr1=1.10&tr2=1.11&r1=text&r2=text
Patches:
Index: wesnoth/src/gettext.hpp
diff -u wesnoth/src/gettext.hpp:1.10 wesnoth/src/gettext.hpp:1.11
--- wesnoth/src/gettext.hpp:1.10 Sun Apr 17 19:29:12 2005
+++ wesnoth/src/gettext.hpp Thu Apr 21 20:38:10 2005
@@ -11,6 +11,9 @@
#ifdef GETTEXT_DOMAIN
# define _(String) dgettext(GETTEXT_DOMAIN,String)
+# ifdef gettext
+# undef gettext
+# endif
# define gettext(String) dgettext(GETTEXT_DOMAIN,String)
#else
# define _(String) gettext(String)