From 06f439b0994e90d3a4fdc095ca741c8f55a399a3 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Thu, 25 May 2006 16:58:10 +0000 Subject: Gettext fixes to sync with coreutils git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1406 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/common.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'plugins') diff --git a/plugins/common.h b/plugins/common.h index baed12eb..31cc33f1 100644 --- a/plugins/common.h +++ b/plugins/common.h @@ -218,6 +218,12 @@ enum { */ #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__ -- cgit v1.2.3-74-g34f1