X-Git-Url: http://git.madism.org/?a=blobdiff_plain;ds=sidebyside;f=charset.cpkg;h=0056160b0b87ab070b78ad0c5ccaf70a0cc048de;hb=e7a772dca1b86e4036d25038ee67aa34dd217c07;hp=b2b4d79663e97056d58b3721fe7c2cf880da1a02;hpb=717c9f150ded0fed572d27f68db07f94a9fe70e8;p=apps%2Fmadmutt.git diff --git a/charset.cpkg b/charset.cpkg index b2b4d79..0056160 100644 --- a/charset.cpkg +++ b/charset.cpkg @@ -27,7 +27,7 @@ #include -#ifdef HAVE_LANGINFO_CODESET +#ifdef HAVE_LANGINFO_H # include #endif @@ -47,7 +47,7 @@ static rx_t *iconv_hooks = NULL; static char *charset_init(void) { const char *res = "iso-8859-1"; -#ifdef HAVE_LANGINFO_CODESET +#ifdef HAVE_LANGINFO_H char buff[STRING]; char buff2[STRING]; @@ -59,7 +59,7 @@ static char *charset_init(void) res = buff2; } #endif -#ifdef HAVE_BIND_TEXTDOMAIN_CODESET +#ifdef ENABLE_NLS bind_textdomain_codeset(PACKAGE, res); #endif return m_strdup(res);