blob: f14e494e0c1847567e81cb7d0f2229b89eb090b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
diff --git a/src/language.cpp b/src/language.cpp
index 1915378..c1eeea5 100644
--- a/src/language.cpp
+++ b/src/language.cpp
@@ -75,7 +75,7 @@ const char *Language::Translate(const NickCore *nc, const char *string)
#if GETTEXT_FOUND
-#ifdef __USE_GNU_GETTEXT
+#if defined(__GLIBC__)
extern "C" int _nl_msg_cat_cntr;
#endif
@@ -87,7 +87,7 @@ const char *Language::Translate(const char *lang, const char *string)
if (!lang || !*lang)
lang = Config->DefLanguage.c_str();
-#ifdef __USE_GNU_GETTEXT
+#if defined(__GLIBC__)
++_nl_msg_cat_cntr;
#endif
|