diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/intl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/intl.h b/include/intl.h index a4e0727..f120e47 100644 --- a/include/intl.h +++ b/include/intl.h @@ -21,9 +21,14 @@ extern inline stpcpy(char *dest, const char *src) { # include <libintl.h> # define N_(x) (x) # define _(x) gettext(x) +# ifndef HAVE_BINDTEXTDOMAIN_CODESET +# define bind_textdomain_codeset(p, c) +# endif #else # define N_(x) (x) # define _(x) (x) +# define textdomain(x) +# define bind_textdomain_codeset(p, c) #endif /* Define this, if you have gettext */ |