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
6c1ee3a2
Commit
6c1ee3a2
authored
Aug 06, 2005
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/extras/libc.c: Fixed compilation on systems without scandir().
parent
1da4cee5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
include/vlc_common.h
include/vlc_common.h
+1
-0
src/extras/libc.c
src/extras/libc.c
+4
-0
No files found.
include/vlc_common.h
View file @
6c1ee3a2
...
@@ -841,6 +841,7 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw )
...
@@ -841,6 +841,7 @@ static inline void _SetQWBE( uint8_t *p, uint64_t i_qw )
#ifndef HAVE_SCANDIR
#ifndef HAVE_SCANDIR
# define scandir vlc_scandir
# define scandir vlc_scandir
# define alphasort vlc_alphasort
# define alphasort vlc_alphasort
struct
dirent
;
VLC_EXPORT
(
int
,
vlc_scandir
,
(
const
char
*
name
,
struct
dirent
***
namelist
,
int
(
*
filter
)
(
const
struct
dirent
*
),
int
(
*
compar
)
(
const
struct
dirent
**
,
const
struct
dirent
**
)
)
);
VLC_EXPORT
(
int
,
vlc_scandir
,
(
const
char
*
name
,
struct
dirent
***
namelist
,
int
(
*
filter
)
(
const
struct
dirent
*
),
int
(
*
compar
)
(
const
struct
dirent
**
,
const
struct
dirent
**
)
)
);
VLC_EXPORT
(
int
,
vlc_alphasort
,
(
const
struct
dirent
**
a
,
const
struct
dirent
**
b
)
);
VLC_EXPORT
(
int
,
vlc_alphasort
,
(
const
struct
dirent
**
a
,
const
struct
dirent
**
b
)
);
#elif !defined(__PLUGIN__)
#elif !defined(__PLUGIN__)
...
...
src/extras/libc.c
View file @
6c1ee3a2
...
@@ -38,6 +38,10 @@
...
@@ -38,6 +38,10 @@
# include <iconv.h>
# include <iconv.h>
#endif
#endif
#ifdef HAVE_DIRENT_H
# include <dirent.h>
#endif
/*****************************************************************************
/*****************************************************************************
* getenv: just in case, but it should never be called
* getenv: just in case, but it should never be called
*****************************************************************************/
*****************************************************************************/
...
...
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