aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2004-12-10 00:13:43 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2004-12-10 00:13:43 +0000
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 e3f150f9..e10586bc 100644
--- a/plugins/common.h
+++ b/plugins/common.h
@@ -184,20 +184,8 @@ enum {
* Internationalization
*
*/
-
-#ifdef ENABLE_NLS
-# include "gettext.h"
-# define _(String) gettext (String)
-# define S_(String) gettext (String)
-# define gettext_noop(String) String
-# define N_(String) gettext_noop String
-#else
-# define _(String) (String)
-# define S_(String) (String)
-# define N_(String) String
-# define textdomain(Domain)
-# define bindtextdomain(Package, Directory)
-#endif
+#include "gettext.h"
+#define _(String) gettext (String)
/* For non-GNU compilers to ignore __attribute__ */
#ifndef __GNUC__