diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2026-04-07 13:16:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-07 13:16:44 +0200 |
| commit | 81345e3487b85712287efc851e67ca60da59c3a1 (patch) | |
| tree | 5c24d1a763d15f3aabf4239b845ea8cd54cb5cf7 /plugins/common.h | |
| parent | 9980e788509af3203725cdcd15f517ad1ed503fb (diff) | |
| download | monitoring-plugins-81345e3487b85712287efc851e67ca60da59c3a1.tar.gz | |
common.h: added guard to avoid warning when ENABLE_NLS is not defined (#2248)
Co-authored-by: Andreas Baumann <mail@andreasbaumann.cc>
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 |
