Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
50866663
Commit
50866663
authored
Jan 10, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We don't need MB2WC when converting ASCII
parent
b8faf36e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
src/modules/os.c
src/modules/os.c
+6
-3
No files found.
src/modules/os.c
View file @
50866663
...
@@ -321,10 +321,13 @@ static void *module_Lookup( module_handle_t handle, const char *psz_function )
...
@@ -321,10 +321,13 @@ static void *module_Lookup( module_handle_t handle, const char *psz_function )
}
}
#elif defined(HAVE_DL_WINDOWS) && defined(UNDER_CE)
#elif defined(HAVE_DL_WINDOWS) && defined(UNDER_CE)
wchar_t
psz_real
[
256
];
wchar_t
wide
[
sizeof
(
psz_function
)
+
1
];
MultiByteToWideChar
(
CP_ACP
,
0
,
psz_function
,
-
1
,
psz_real
,
256
);
size_t
i
;
do
wide
[
i
]
=
psz_function
[
i
];
/* UTF-16 <- ASCII */
while
(
psz_function
[
i
++
]
);
return
(
void
*
)
GetProcAddress
(
handle
,
psz_real
);
return
(
void
*
)
GetProcAddress
(
handle
,
wide
);
#elif defined(HAVE_DL_WINDOWS) && defined(WIN32)
#elif defined(HAVE_DL_WINDOWS) && defined(WIN32)
return
(
void
*
)
GetProcAddress
(
handle
,
(
char
*
)
psz_function
);
return
(
void
*
)
GetProcAddress
(
handle
,
(
char
*
)
psz_function
);
...
...
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