Commit b3aad8e3 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

charset.c: Use defined() for HAVE_ macro.

parent cf29be96
...@@ -201,7 +201,7 @@ static const char* vlc_charset_aliases( const char *psz_name ) ...@@ -201,7 +201,7 @@ static const char* vlc_charset_aliases( const char *psz_name )
} }
/* Returns charset from "language_COUNTRY.charset@modifier" string */ /* Returns charset from "language_COUNTRY.charset@modifier" string */
#if (defined OS2 || !HAVE_LANGINFO_CODESET) && !defined WIN32 #if (defined OS2 || !defined(HAVE_LANGINFO_CODESET)) && !defined WIN32
static void vlc_encoding_from_locale( char *psz_locale, char *psz_charset ) static void vlc_encoding_from_locale( char *psz_locale, char *psz_charset )
{ {
char *psz_dot = strchr( psz_locale, '.' ); char *psz_dot = strchr( psz_locale, '.' );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment