Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
19ae2576
Commit
19ae2576
authored
Feb 13, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some WinCE fixes
parent
1c352886
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/misc/unicode.c
src/misc/unicode.c
+6
-6
No files found.
src/misc/unicode.c
View file @
19ae2576
...
...
@@ -49,7 +49,7 @@
# define ASSUME_UTF8 1
#endif
#if !(defined (WIN32) && defined (ASSUME_UTF8))
#if !(defined (WIN32) && defined (
UNDER_CE) && defined (
ASSUME_UTF8))
# define USE_ICONV 1
#endif
...
...
@@ -118,7 +118,7 @@ void LocaleDeinit( void )
#endif
}
#if
def WIN32
#if
defined (WIN32) || defined (UNDER_CE)
static
char
*
MB2MB
(
const
char
*
string
,
UINT
fromCP
,
UINT
toCP
)
{
char
*
out
;
...
...
@@ -150,7 +150,7 @@ char *FromLocale( const char *locale )
if
(
locale
==
NULL
)
return
NULL
;
#if
ndef WIN32
#if
!(defined WIN32 || defined (UNDER_CE))
# ifdef USE_ICONV
if
(
from_locale
.
hd
!=
(
vlc_iconv_t
)(
-
1
)
)
{
...
...
@@ -219,7 +219,7 @@ char *ToLocale( const char *utf8 )
if
(
utf8
==
NULL
)
return
NULL
;
#if
ndef WIN32
#if
!(defined (WIN32) || defined (UNDER_CE))
# ifdef USE_ICONV
if
(
to_locale
.
hd
!=
(
vlc_iconv_t
)(
-
1
)
)
{
...
...
@@ -281,7 +281,7 @@ void LocaleFree( const char *str )
*****************************************************************************/
FILE
*
utf8_fopen
(
const
char
*
filename
,
const
char
*
mode
)
{
#if !
defined WIN32
/*|| !defined UNICODE*/
#if !
(defined (WIN32) || defined (UNDER_CE))
const
char
*
local_name
=
ToLocale
(
filename
);
if
(
local_name
!=
NULL
)
...
...
@@ -313,7 +313,7 @@ FILE *utf8_fopen( const char *filename, const char *mode )
*****************************************************************************/
int
utf8_mkdir
(
const
char
*
dirname
)
{
#if defined
( UNDER_CE ) || defined( WIN32
)
#if defined
(UNDER_CE) || defined (WIN32
)
wchar_t
wname
[
MAX_PATH
];
char
mod
[
MAX_PATH
];
int
i
;
...
...
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