[Nagiosplug-checkins] nagiosplug/plugins common.h,1.20,1.21
Ton Voon
tonvoon at users.sourceforge.net
Thu May 25 09:59:07 CEST 2006
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv18974/plugins
Modified Files:
common.h
Log Message:
Gettext fixes to sync with coreutils
Index: common.h
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/common.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- common.h 18 May 2006 22:05:43 -0000 1.20
+++ common.h 25 May 2006 16:58:10 -0000 1.21
@@ -218,6 +218,12 @@
*/
#include "gettext.h"
#define _(String) gettext (String)
+#if ! ENABLE_NLS
+# undef textdomain
+# define textdomain(Domainname) /* empty */
+# undef bindtextdomain
+# define bindtextdomain(Domainname, Dirname) /* empty */
+#endif
/* For non-GNU compilers to ignore __attribute__ */
#ifndef __GNUC__
More information about the Commits
mailing list