1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 11:06:37 +02:00

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.

This commit is contained in:
Adam
2010-10-26 22:02:08 -04:00
parent 09160d1289
commit a79da4bba1
+1 -7
View File
@@ -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