pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] CVS: Games/Pingus/src gettext.h,1.2,1.3


From: torangan
Subject: [Pingus-CVS] CVS: Games/Pingus/src gettext.h,1.2,1.3
Date: 18 Aug 2003 21:44:38 -0000

Update of /var/lib/cvs/Games/Pingus/src
In directory dark:/tmp/cvs-serv3053

Modified Files:
        gettext.h 
Log Message:
Make use of HAVE_GETTEXT macro


Index: gettext.h
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/gettext.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- gettext.h   17 Jun 2003 14:09:20 -0000      1.2
+++ gettext.h   18 Aug 2003 21:44:36 -0000      1.3
@@ -21,8 +21,13 @@
 
 #include <config.h>
 
-#define _(String) gettext(String)
-#define N_(String) gettext_noop(String)
+#ifdef HAVE_GETTEXT
+#  define _(String) gettext(String)
+#  define N_(String) gettext_noop(String)
+#else
+#  define _(String) String
+#  define N_(String) String
+#endif
 
 /* NLS can be disabled through the configure --disable-nls option.  */
 #if ENABLE_NLS





reply via email to

[Prev in Thread] Current Thread [Next in Thread]