From a79da4bba11ef6fec0ef010a7900c742c2e358ad Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 26 Oct 2010 22:02:08 -0400 Subject: [PATCH] Modules to not need to include libintl.h because they are not linked to libintl and do not directly call its code. #define _(x) to x just so xgettext is able to pick out language strings. --- include/module.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/include/module.h b/include/module.h index 9ef037c4b..a879bf04a 100644 --- a/include/module.h +++ b/include/module.h @@ -4,12 +4,6 @@ #include "services.h" #include "commands.h" #include "modules.h" - -#if GETTEXT_FOUND -# include -# define _(x) gettext(x) -#else -# define _(x) x -#endif +#define _(x) x #endif // MODULE_H