Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
fdf8f67b
Commit
fdf8f67b
authored
May 30, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/misc/modules.c: avoid name collisions on win32.
parent
1b95a829
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
src/misc/modules.c
src/misc/modules.c
+7
-8
No files found.
src/misc/modules.c
View file @
fdf8f67b
...
...
@@ -111,12 +111,6 @@
#include "vlc_vlm.h"
#if defined( UNDER_CE )
# define MYCHAR wchar_t
#else
# define MYCHAR char
#endif
#ifdef HAVE_DYNAMIC_PLUGINS
# include "modules_plugin.h"
#endif
...
...
@@ -130,6 +124,11 @@
#endif
#include "network.h"
#if defined( WIN32) || defined( UNDER_CE )
/* Avoid name collisions */
# define LoadModule(a,b,c) _LoadModule(a,b,c)
#endif
/*****************************************************************************
* Local prototypes
*****************************************************************************/
...
...
@@ -716,7 +715,7 @@ static void AllocatePluginDir( vlc_object_t *p_this, const char *psz_dir,
{
#if defined( UNDER_CE ) || defined( _MSC_VER )
#ifdef UNDER_CE
MYCHAR
psz_path
[
MAX_PATH
+
256
];
wchar_t
psz_path
[
MAX_PATH
+
256
];
wchar_t
psz_wdir
[
MAX_PATH
];
#else
char
psz_path
[
MAX_PATH
+
256
];
...
...
@@ -1388,7 +1387,7 @@ static void * _module_getsymbol( module_handle_t handle,
return
(
void
*
)
GetProcAddress
(
handle
,
psz_real
);
#elif defined(HAVE_DL_WINDOWS) && defined(WIN32)
return
(
void
*
)
GetProcAddress
(
handle
,
(
MYCHAR
*
)
psz_function
);
return
(
void
*
)
GetProcAddress
(
handle
,
(
char
*
)
psz_function
);
#elif defined(HAVE_DL_DLOPEN)
return
dlsym
(
handle
,
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