aboutsummaryrefslogtreecommitdiff
path: root/plugins/common.h
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2006-05-25 16:58:10 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2006-05-25 16:58:10 +0000
commit06f439b0994e90d3a4fdc095ca741c8f55a399a3 (patch)
treec3584419c1888bea586ca58cfd3c5e4bcae72dac /plugins/common.h
parent87712747c521bb34370b7ef6274b8310a92e0171 (diff)
downloadmonitoring-plugins-06f439b0994e90d3a4fdc095ca741c8f55a399a3.tar.gz
Gettext fixes to sync with coreutils
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1406 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/common.h')
-rw-r--r--plugins/common.h6
1 files changed, 6 insertions, 0 deletions
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__