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
c7880afa
Commit
c7880afa
authored
Aug 22, 2005
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/extras/libc.c: Compilation fix for non-Win32 platforms.
parent
de1cb2a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
include/vlc_common.h
include/vlc_common.h
+0
-6
src/extras/libc.c
src/extras/libc.c
+13
-0
No files found.
include/vlc_common.h
View file @
c7880afa
...
@@ -932,15 +932,9 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw )
...
@@ -932,15 +932,9 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw )
# endif
# endif
#endif
#endif
#if defined(WIN32) || defined(UNDER_CE)
VLC_EXPORT
(
void
*
,
vlc_opendir_wrapper
,
(
const
char
*
)
);
VLC_EXPORT
(
void
*
,
vlc_opendir_wrapper
,
(
const
char
*
)
);
VLC_EXPORT
(
struct
dirent
*
,
vlc_readdir_wrapper
,
(
void
*
)
);
VLC_EXPORT
(
struct
dirent
*
,
vlc_readdir_wrapper
,
(
void
*
)
);
VLC_EXPORT
(
int
,
vlc_closedir_wrapper
,
(
void
*
)
);
VLC_EXPORT
(
int
,
vlc_closedir_wrapper
,
(
void
*
)
);
#else
# define vlc_opendir_wrapper opendir
# define vlc_readdir_wrapper readdir
# define vlc_closedir_wrapper closedir
#endif
/* Format type specifiers for 64 bits numbers */
/* Format type specifiers for 64 bits numbers */
#if defined(__CYGWIN32__) || (!defined(WIN32) && !defined(UNDER_CE))
#if defined(__CYGWIN32__) || (!defined(WIN32) && !defined(UNDER_CE))
...
...
src/extras/libc.c
View file @
c7880afa
...
@@ -422,6 +422,19 @@ int vlc_closedir_wrapper( void *_p_dir )
...
@@ -422,6 +422,19 @@ int vlc_closedir_wrapper( void *_p_dir )
free
(
p_dir
);
free
(
p_dir
);
return
0
;
return
0
;
}
}
#else
void
*
vlc_opendir_wrapper
(
const
char
*
psz_path
)
{
return
(
void
*
)
opendir
(
psz_path
);
}
struct
dirent
*
vlc_readdir_wrapper
(
void
*
_p_dir
)
{
return
readdir
(
(
DIR
*
)
_p_dir
);
}
int
vlc_closedir_wrapper
(
void
*
_p_dir
)
{
return
closedir
(
(
DIR
*
)
_p_dir
);
}
#endif
#endif
/*****************************************************************************
/*****************************************************************************
...
...
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