]> git.sesse.net Git - vlc/commitdiff
text/charset.c: Use #ifdef for HAVE_* macro.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 4 Feb 2008 13:18:05 +0000 (13:18 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 4 Feb 2008 13:18:05 +0000 (13:18 +0000)
src/text/charset.c

index 57a25db04dc380ebd2a1e59141a9ba65732a7bc6..d8b9d9ba0c0c7b93faac03cb981cb8b86cbca83d 100644 (file)
@@ -66,7 +66,7 @@ typedef struct VLCCharsetAlias
  * 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 )
 {
     /* check for language (and perhaps country) codes */