1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 18:54:47 +02:00

Removed the LIBINTL include hack

This commit is contained in:
Adam
2011-02-05 18:35:20 -05:00
parent 83556667fd
commit a55b3742cb
4 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ endif(NOT WIN32)
# If we found everything we need set variables correctly for lang/CMakeLists.txt to use
if(GETTEXT_FOUND)
set(LIBINTL_INCLUDE "${GETTEXT_INCLUDE}/libintl.h")
include_directories("${GETTEXT_INCLUDE}")
set(GETTEXT_MSGFMT_EXECUTABLE ${GETTEXT_MSGFMT})
if(WIN32)
+1 -1
View File
@@ -141,7 +141,7 @@ extern "C" void __pfnBkCheck() {}
#endif
#if GETTEXT_FOUND
# include LIBINTL
# include <libintl.h>
# define _(x) anope_gettext(x)
#else
# define _(x) x
-1
View File
@@ -20,7 +20,6 @@
#cmakedefine HAVE_EVENTFD 1
#cmakedefine GETTEXT_FOUND 1
#cmakedefine RUNGROUP "@RUNGROUP@"
#define LIBINTL "@LIBINTL_INCLUDE@"
#cmakedefine HAVE_UINT8_T 1
#cmakedefine HAVE_U_INT8_T 1
+1 -1
View File
@@ -9,7 +9,7 @@
#include "modules.h"
#ifdef GETTEXT_FOUND
# include LIBINTL
# include <libintl.h>
#endif
Module::Module(const Anope::string &mname, const Anope::string &creator)