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:
@@ -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
@@ -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
|
||||
|
||||
@@ -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
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user