diff options
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 baed12e..31cc33f 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__ |