From: Ton Voon Date: Fri, 10 Dec 2004 00:13:43 +0000 (+0000) Subject: Fix includes for gettext X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e273a76bc5489740cd41999775201e74709c1602;p=nagiosplug.git Fix includes for gettext git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1016 f882894a-f735-0410-b71e-b25c423dba1c --- 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 { * 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__