diff options
| author | Andreas Baumann <mail@andreasbaumann.cc> | 2026-01-22 12:59:19 +0100 |
|---|---|---|
| committer | Andreas Baumann <mail@andreasbaumann.cc> | 2026-01-22 12:59:19 +0100 |
| commit | 5ede6918907f9a258fe9630f2f5cf668c0bbc6ce (patch) | |
| tree | fe57ef62aeff170de7aedb4a626d6a50244bc6b3 /plugins/common.h | |
| parent | bccb38dc9d56ca5cecce8f2f9a988ec5d31626db (diff) | |
| download | monitoring-plugins-5ede6918907f9a258fe9630f2f5cf668c0bbc6ce.tar.gz | |
common.h: added guard to avoid warning when ENABLE_NLS is not defined
Diffstat (limited to 'plugins/common.h')
| -rw-r--r-- | plugins/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/common.h b/plugins/common.h index ef888d08..b3053486 100644 --- a/plugins/common.h +++ b/plugins/common.h | |||
| @@ -193,7 +193,7 @@ enum { | |||
| 193 | */ | 193 | */ |
| 194 | #include "../gl/gettext.h" | 194 | #include "../gl/gettext.h" |
| 195 | #define _(String) gettext(String) | 195 | #define _(String) gettext(String) |
| 196 | #if !ENABLE_NLS | 196 | #if !defined(ENABLE_NLS) || !ENABLE_NLS |
| 197 | # undef textdomain | 197 | # undef textdomain |
| 198 | # define textdomain(Domainname) /* empty */ | 198 | # define textdomain(Domainname) /* empty */ |
| 199 | # undef bindtextdomain | 199 | # undef bindtextdomain |
