Re: [PATCH] frontend: guard setlocale() consistently with its include

Alexander Leidinger via Lame-dev <[email protected]> Fri, 17 Jul 2026 15:15:38 +0200
Newsgroups gmane.comp.audio.mp3.lame
Organization No organization, this is a private message.
Message-ID <[email protected]>
Am 2026-07-16 21:50, schrieb Maya R. Odinezenko via Lame-dev:
> Hello,
> 
> Building the 4.0 release on macOS (Apple silicon, Apple clang 21)
> stops in the frontend:
> 
>   frontend/parse.c:1623:5: error: use of undeclared identifier 
> 'setlocale'
>   frontend/parse.c:1623:15: error: use of undeclared identifier 
> 'LC_CTYPE'
> 
> This configuration has HAVE_LANGINFO_H but not HAVE_ICONV. parse.c

Committed to trunk. Will be in 4.1.

Thanks,
Alexander.

-- 
http://www.Leidinger.net [email protected]: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    [email protected]  : PGP 0x8F31830F9F2772BF