diff options
author | Adam <Adam@anope.org> | 2010-10-26 22:02:08 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-10-26 22:02:08 -0400 |
commit | a79da4bba11ef6fec0ef010a7900c742c2e358ad (patch) | |
tree | 6a2aad651d7de9e5229c9c97c1426e5da8a97b04 | |
parent | 09160d1289d9359c090ce2f6cf47335dbf51223c (diff) |
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.
-rw-r--r-- | include/module.h | 8 |
1 files changed, 1 insertions, 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 <libintl.h> -# define _(x) gettext(x) -#else -# define _(x) x -#endif +#define _(x) x #endif // MODULE_H |