]> git.sesse.net Git - vlc/commitdiff
Compile fix
authorRémi Denis-Courmont <rem@videolan.org>
Sun, 7 May 2006 15:50:09 +0000 (15:50 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sun, 7 May 2006 15:50:09 +0000 (15:50 +0000)
src/misc/charset.c

index 3a965b3642dd7c9c4a5d4647e5cae43982c85922..58147cca1efeec170ea92f3c785f2307b8043e5a 100644 (file)
 #if !defined WIN32
 # if HAVE_LANGINFO_CODESET
 #  include <langinfo.h>
-# else
-#  if HAVE_SETLOCALE
-#   include <locale.h>
-#  endif
 # endif
-#elif defined WIN32
+# if HAVE_LOCALE_H
+#  include <locale.h>
+# endif
+#else
 # include <windows.h>
 #endif