When using included libintl, use
only intl/libgnuintl.h. Using system default libintl.h on systems with older libintls causes random coredumps.
Showing
1 changed file
with
4 additions
and
0 deletions
... | @@ -25,7 +25,11 @@ | ... | @@ -25,7 +25,11 @@ |
25 | */ | 25 | */ |
26 | 26 | ||
27 | #ifdef ENABLE_NLS | 27 | #ifdef ENABLE_NLS |
28 | # ifdef WITH_INCLUDED_LIBINTL | ||
29 | # include <libgnuintl.h> | ||
30 | # else | ||
28 | # include <libintl.h> | 31 | # include <libintl.h> |
32 | # endif | ||
29 | # define _(String) gettext(String) | 33 | # define _(String) gettext(String) |
30 | # define N_(String) String | 34 | # define N_(String) String |
31 | #ifdef HAVE_LOCALE_H | 35 | #ifdef HAVE_LOCALE_H | ... | ... |
-
Please register or sign in to post a comment