[vlc-devel] commit: Use C locale when formatting error messages in the log ( Rémi Denis-Courmont )

Rémi Denis-Courmont remi at remlab.net
Sat Feb 6 15:43:28 CET 2010


Le samedi 6 février 2010 16:37:30 Toralf Niebuhr, vous avez écrit :
> This commit breaks the build for VLCKit (Mac OS X)
> The Header "xlocale.h" should be included somewhere I just don't know whats
>  the right place. Including it in "include/vlc_fixups.h" works for me, but
>  it's definitely not the right place.
> 
> Any suggestions?

Fix your operating system.

| The <locale.h> header shall define the locale_t type, representing a
| locale object.
| The following shall be declared as functions and may also be defined
| as macros. Function prototypes shall be provided for use with ISO C
| standard compilers.
(...)
| void          freelocale(locale_t);
(...)
| locale_t      newlocale(int, const char *, locale_t);
(...)
| locale_t      uselocale (locale_t);

-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list