From: Rocco Rutte Date: Tue, 20 Nov 2007 08:44:24 +0000 (+0000) Subject: Alternate fix for not calling bind_textdomain_codeset() to fix Solaris build. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a9313a52274653f9ee7bfbaebfd3297c4b7eca51;p=neomutt Alternate fix for not calling bind_textdomain_codeset() to fix Solaris build. --- diff --git a/lib.h b/lib.h index 651716c45..8e8d3951e 100644 --- a/lib.h +++ b/lib.h @@ -52,7 +52,6 @@ # else # define _(a) (a) # define N_(a) a -# define bind_textdomain_codeset(a, b) # endif # define TRUE 1 diff --git a/mbyte.c b/mbyte.c index f00c892bc..2737b2d56 100644 --- a/mbyte.c +++ b/mbyte.c @@ -83,7 +83,7 @@ void mutt_set_charset (char *charset) } #endif -#ifdef HAVE_BIND_TEXTDOMAIN_CODESET +#if defined(HAVE_BIND_TEXTDOMAIN_CODESET) && defined(ENABLE_NLS) bind_textdomain_codeset(PACKAGE, buffer); #endif }