Module: monitoring-plugins
Branch: check_snmp_fixes
Commit: 5ede6918907f9a258fe9630f2f5cf668c0bbc6ce
Author: Andreas Baumann <[email protected]>
Date: Thu Jan 22 12:59:19 2026 +0100
URL:
https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=5ede6918
common.h: added guard to avoid warning when ENABLE_NLS is not defined
---
plugins/common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 {
*/
#include "../gl/gettext.h"
#define _(String) gettext(String)
-#if !ENABLE_NLS
+#if !defined(ENABLE_NLS) || !ENABLE_NLS
# undef textdomain
# define textdomain(Domainname) /* empty */
# undef bindtextdomain