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

text/charset.c: Use #ifdef for HAVE_* macro.

parent 10cdf4d2
...@@ -66,7 +66,7 @@ typedef struct VLCCharsetAlias ...@@ -66,7 +66,7 @@ typedef struct VLCCharsetAlias
* a lot of basic aliases (check it first by iconv -l). * a lot of basic aliases (check it first by iconv -l).
* *
*/ */
#if (defined OS2 || !HAVE_LANGINFO_CODESET) && !defined WIN32 #if (defined OS2 || !defined(HAVE_LANGINFO_CODESET)) && !defined WIN32
static const char* vlc_encoding_from_language( const char *l ) static const char* vlc_encoding_from_language( const char *l )
{ {
/* check for language (and perhaps country) codes */ /* check for language (and perhaps country) codes */
......
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