Re: courier-unicode fails to build on Mac OS 10.10.5

Christian Ebert <[email protected]> Fri, 25 Dec 2015 01:00:19 +0000
Newsgroups gmane.mail.maildrop
Organization Black Trash Productions http://www.blacktrash.org
Message-ID <[email protected]>
* Sam Varshavchik on Thursday, December 24, 2015 at 17:18:42 -0500
> Christian Ebert writes:
>> I have no clue what I'm doing or what I should do; when I replace
>> 
>> #include        <locale.h>
>> 
>> with
>> 
>> #include        <xlocale.h>
> 
> No, just remove
> 
> extern const char *unicode_locale_chset_l(locale_t l);
> 
> from courier-unicode.h completely.
> 
> And also remove the entire
> 
> const char *unicode_locale_chset_l(locale_t l)
> {
>       return fix_charset(nl_langinfo_l(CODESET, l));
> }
> 
> function from unicode.c

Ah, gotcha. That helped.

Compiles including locale.h or xlocale.h - don't know whether
that matters.

Thanks.

-- 
theatre - books - texts - movies
Black Trash Productions at home: http://www.blacktrash.org
Black Trash Productions on Facebook:
http://www.facebook.com/blacktrashproductions

------------------------------------------------------------------------------