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
35899899
Commit
35899899
authored
Nov 03, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win32: fix closedir() to match vlc_opendir()
Parental advisory: explicit kludge.
parent
3267797e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
include/vlc_fs.h
include/vlc_fs.h
+12
-2
No files found.
include/vlc_fs.h
View file @
35899899
...
@@ -44,8 +44,18 @@ VLC_EXPORT( int, vlc_mkdir, ( const char *filename, mode_t mode ) );
...
@@ -44,8 +44,18 @@ VLC_EXPORT( int, vlc_mkdir, ( const char *filename, mode_t mode ) );
VLC_EXPORT
(
int
,
vlc_unlink
,
(
const
char
*
filename
)
);
VLC_EXPORT
(
int
,
vlc_unlink
,
(
const
char
*
filename
)
);
VLC_EXPORT
(
int
,
vlc_rename
,
(
const
char
*
oldpath
,
const
char
*
newpath
)
);
VLC_EXPORT
(
int
,
vlc_rename
,
(
const
char
*
oldpath
,
const
char
*
newpath
)
);
#if defined( WIN32 ) && !defined( UNDER_CE )
#if defined( WIN32 )
# define stat _stati64
# ifndef UNDER_CE
# define stat _stati64
# endif
static
inline
int
vlc_closedir
(
DIR
*
dir
)
{
_WDIR
*
wdir
=
*
(
_WDIR
**
)
dir
;
free
(
dir
);
return
wdir
?
_wclosedir
(
wdir
)
:
0
;
}
# undef closedir
# define closedir vlc_closedir
#endif
#endif
VLC_EXPORT
(
int
,
vlc_stat
,
(
const
char
*
filename
,
struct
stat
*
buf
)
);
VLC_EXPORT
(
int
,
vlc_stat
,
(
const
char
*
filename
,
struct
stat
*
buf
)
);
...
...
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