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
bb29acd2
Commit
bb29acd2
authored
May 24, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vlc_wclosedir is still needed on Windows
parent
9194945a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
include/vlc_common.h
include/vlc_common.h
+2
-0
include/vlc_fixups.h
include/vlc_fixups.h
+6
-0
src/libvlc.h
src/libvlc.h
+0
-4
No files found.
include/vlc_common.h
View file @
bb29acd2
...
...
@@ -852,7 +852,9 @@ VLC_EXPORT( void *, vlc_memset, ( void *, int, size_t ) );
*****************************************************************************/
#ifdef WIN32
VLC_EXPORT
(
char
*
,
vlc_dgettext
,
(
const
char
*
package
,
const
char
*
msgid
)
);
VLC_EXPORT
(
int
,
vlc_wclosedir
,
(
void
*
)
);
#endif
VLC_EXPORT
(
char
*
,
vlc_gettext
,
(
const
char
*
msgid
)
);
/*****************************************************************************
...
...
include/vlc_fixups.h
View file @
bb29acd2
...
...
@@ -136,6 +136,12 @@ typedef void *locale_t;
# define freelocale( a ) (void)0
#endif
#ifdef WIN32
# define opendir Use_utf8_opendir_or_vlc_wopendir_instead!
# define readdir Use_utf8_readdir_or_vlc_wreaddir_instead!
# define closedir vlc_wclosedir
#endif
/* libintl support */
#define _(str) vlc_gettext (str)
...
...
src/libvlc.h
View file @
bb29acd2
...
...
@@ -281,11 +281,7 @@ void vlc_rewinddir(void *);
# include <dirent.h>
void
*
vlc_wopendir
(
const
wchar_t
*
);
struct
_wdirent
*
vlc_wreaddir
(
void
*
);
int
vlc_wclosedir
(
void
*
);
void
vlc_rewinddir
(
void
*
);
# define opendir Use_utf8_opendir_or_vlc_wopendir_instead!
# define readdir Use_utf8_readdir_or_vlc_wreaddir_instead!
# define closedir vlc_wclosedir
# define _wopendir vlc_wopendir
# define _wreaddir vlc_wreaddir
# define _wclosedir vlc_wclosedir
...
...
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