diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-05-25 16:58:10 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-05-25 16:58:10 +0000 |
commit | 06f439b0994e90d3a4fdc095ca741c8f55a399a3 (patch) | |
tree | c3584419c1888bea586ca58cfd3c5e4bcae72dac /plugins | |
parent | 87712747c521bb34370b7ef6274b8310a92e0171 (diff) | |
download | monitoring-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')
-rw-r--r-- | plugins/common.h | 6 |
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 { | |||
218 | */ | 218 | */ |
219 | #include "gettext.h" | 219 | #include "gettext.h" |
220 | #define _(String) gettext (String) | 220 | #define _(String) gettext (String) |
221 | #if ! ENABLE_NLS | ||
222 | # undef textdomain | ||
223 | # define textdomain(Domainname) /* empty */ | ||
224 | # undef bindtextdomain | ||
225 | # define bindtextdomain(Domainname, Dirname) /* empty */ | ||
226 | #endif | ||
221 | 227 | ||
222 | /* For non-GNU compilers to ignore __attribute__ */ | 228 | /* For non-GNU compilers to ignore __attribute__ */ |
223 | #ifndef __GNUC__ | 229 | #ifndef __GNUC__ |