summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2004-12-10 00:13:43 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2004-12-10 00:13:43 (GMT)
commite273a76bc5489740cd41999775201e74709c1602 (patch)
treeda2cbc0249e4fb0ad5392218e1a2218cf382d767 /plugins
parentb59f6b2b783d018ce48759c5b74a917bd14d99e0 (diff)
downloadmonitoring-plugins-e273a76bc5489740cd41999775201e74709c1602.tar.gz
Fix includes for gettext
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1016 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/common.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/plugins/common.h b/plugins/common.h
index e3f150f..e10586b 100644
--- a/plugins/common.h
+++ b/plugins/common.h
@@ -184,20 +184,8 @@ enum {
184 * Internationalization 184 * Internationalization
185 * 185 *
186 */ 186 */
187 187#include "gettext.h"
188#ifdef ENABLE_NLS 188#define _(String) gettext (String)
189# include "gettext.h"
190# define _(String) gettext (String)
191# define S_(String) gettext (String)
192# define gettext_noop(String) String
193# define N_(String) gettext_noop String
194#else
195# define _(String) (String)
196# define S_(String) (String)
197# define N_(String) String
198# define textdomain(Domain)
199# define bindtextdomain(Package, Directory)
200#endif
201 189
202/* For non-GNU compilers to ignore __attribute__ */ 190/* For non-GNU compilers to ignore __attribute__ */
203#ifndef __GNUC__ 191#ifndef __GNUC__