summaryrefslogtreecommitdiffstats
path: root/plugins/common.h
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2026-04-07 13:16:44 +0200
committerGitHub <noreply@github.com>2026-04-07 13:16:44 +0200
commit81345e3487b85712287efc851e67ca60da59c3a1 (patch)
tree5c24d1a763d15f3aabf4239b845ea8cd54cb5cf7 /plugins/common.h
parent9980e788509af3203725cdcd15f517ad1ed503fb (diff)
downloadmonitoring-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.h2
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