From e273a76bc5489740cd41999775201e74709c1602 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Fri, 10 Dec 2004 00:13:43 +0000 Subject: Fix includes for gettext git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1016 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/common.h | 16 ++-------------- 1 file 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__ -- cgit v1.2.3-74-g34f1