Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
352ebfc1
Commit
352ebfc1
authored
Feb 04, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
if -> ifdef
parent
63b746af
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/text/charset.c
src/text/charset.c
+2
-2
No files found.
src/text/charset.c
View file @
352ebfc1
...
@@ -239,7 +239,7 @@ vlc_bool_t vlc_current_charset( char **psz_charset )
...
@@ -239,7 +239,7 @@ vlc_bool_t vlc_current_charset( char **psz_charset )
#if !(defined WIN32 || defined OS2 || defined __APPLE__)
#if !(defined WIN32 || defined OS2 || defined __APPLE__)
# if HAVE_LANGINFO_CODESET
# if
def
HAVE_LANGINFO_CODESET
/* Most systems support nl_langinfo( CODESET ) nowadays. */
/* Most systems support nl_langinfo( CODESET ) nowadays. */
psz_codeset
=
nl_langinfo
(
CODESET
);
psz_codeset
=
nl_langinfo
(
CODESET
);
if
(
!
strcmp
(
psz_codeset
,
"ANSI_X3.4-1968"
)
)
if
(
!
strcmp
(
psz_codeset
,
"ANSI_X3.4-1968"
)
)
...
@@ -253,7 +253,7 @@ vlc_bool_t vlc_current_charset( char **psz_charset )
...
@@ -253,7 +253,7 @@ vlc_bool_t vlc_current_charset( char **psz_charset )
* (like SunOS 4 or DJGPP) have only the C locale. Therefore we don't
* (like SunOS 4 or DJGPP) have only the C locale. Therefore we don't
* use setlocale here; it would return "C" when it doesn't support the
* use setlocale here; it would return "C" when it doesn't support the
* locale name the user has set. Darwin's setlocale is broken. */
* locale name the user has set. Darwin's setlocale is broken. */
# if
HAVE_SETLOCALE && !__APPLE__
# if
defined (HAVE_SETLOCALE) && !defined (__APPLE__)
psz_locale
=
setlocale
(
LC_ALL
,
NULL
);
psz_locale
=
setlocale
(
LC_ALL
,
NULL
);
# endif
# endif
if
(
psz_locale
==
NULL
||
psz_locale
[
0
]
==
'\0'
)
if
(
psz_locale
==
NULL
||
psz_locale
[
0
]
==
'\0'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment