git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf29be9
)
charset.c: Use defined() for HAVE_ macro.
author
Pierre d'Herbemont
<pdherbemont@videolan.org>
Mon, 4 Feb 2008 13:18:40 +0000
(13:18 +0000)
committer
Pierre d'Herbemont
<pdherbemont@videolan.org>
Mon, 4 Feb 2008 13:18:40 +0000
(13:18 +0000)
src/text/charset.c
patch
|
blob
|
history
diff --git
a/src/text/charset.c
b/src/text/charset.c
index
d8b9d9b
..
9f30eda
100644
(file)
--- a/
src/text/charset.c
+++ b/
src/text/charset.c
@@
-201,7
+201,7
@@
static const char* vlc_charset_aliases( const char *psz_name )
}
/* 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 )
{
char *psz_dot = strchr( psz_locale, '.' );