Commit ee7dfec5 authored by Laurent Aimar's avatar Laurent Aimar

* charset: compilation fix.

parent dc3b3c39
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* charset.c: Determine a canonical name for the current locale's character encoding. * charset.c: Determine a canonical name for the current locale's character encoding.
***************************************************************************** *****************************************************************************
* Copyright (C) 2003 VideoLAN * Copyright (C) 2003 VideoLAN
* $Id: charset.c,v 1.1 2003/08/23 12:59:31 hartman Exp $ * $Id: charset.c,v 1.2 2003/08/23 22:19:07 fenrir Exp $
* *
* Authors: Derk-Jan Hartman <thedj at users.sf.net> * Authors: Derk-Jan Hartman <thedj at users.sf.net>
* *
...@@ -26,9 +26,9 @@ ...@@ -26,9 +26,9 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*****************************************************************************/ *****************************************************************************/
#include <stdio.h>
#include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h>
#include <vlc/vlc.h>
#if !defined WIN32 #if !defined WIN32
# if HAVE_LANGINFO_CODESET # if HAVE_LANGINFO_CODESET
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
# include <windows.h> # include <windows.h>
#endif #endif
#include <vlc/vlc.h>
#include "charset.h" #include "charset.h"
typedef struct VLCCharsetAlias typedef struct VLCCharsetAlias
...@@ -325,8 +324,8 @@ vlc_bool_t vlc_current_charset( char **psz_charset ) ...@@ -325,8 +324,8 @@ vlc_bool_t vlc_current_charset( char **psz_charset )
*psz_charset = (char *)psz_codeset; *psz_charset = (char *)psz_codeset;
if (strcasecmp(psz_codeset, "UTF8")==0 || strcasecmp(psz_codeset, "UTF-8")==0) if (strcasecmp(psz_codeset, "UTF8")==0 || strcasecmp(psz_codeset, "UTF-8")==0)
return TRUE; return VLC_TRUE;
return FALSE; return VLC_FALSE;
} }
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