summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-10-26 22:02:08 -0400
committerAdam <Adam@anope.org>2010-10-26 22:02:08 -0400
commita79da4bba11ef6fec0ef010a7900c742c2e358ad (patch)
tree6a2aad651d7de9e5229c9c97c1426e5da8a97b04
parent09160d1289d9359c090ce2f6cf47335dbf51223c (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.h8
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