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
beee3221
Commit
beee3221
authored
May 01, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move dirent stuff to fixups.h, where it belongs
parent
4b8ce41a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
26 deletions
+26
-26
include/vlc_common.h
include/vlc_common.h
+0
-26
include/vlc_fixups.h
include/vlc_fixups.h
+26
-0
No files found.
include/vlc_common.h
View file @
beee3221
...
@@ -773,32 +773,6 @@ VLC_EXPORT( int, vlc_strcasecmp, ( const char *s1, const char *s2 ) );
...
@@ -773,32 +773,6 @@ VLC_EXPORT( int, vlc_strcasecmp, ( const char *s1, const char *s2 ) );
VLC_EXPORT
(
int
,
vlc_strncasecmp
,
(
const
char
*
s1
,
const
char
*
s2
,
size_t
n
)
);
VLC_EXPORT
(
int
,
vlc_strncasecmp
,
(
const
char
*
s1
,
const
char
*
s2
,
size_t
n
)
);
VLC_EXPORT
(
char
*
,
vlc_strcasestr
,
(
const
char
*
s1
,
const
char
*
s2
)
);
VLC_EXPORT
(
char
*
,
vlc_strcasestr
,
(
const
char
*
s1
,
const
char
*
s2
)
);
#ifndef HAVE_DIRENT_H
typedef
void
DIR
;
# ifndef FILENAME_MAX
# define FILENAME_MAX (260)
# endif
struct
dirent
{
long
d_ino
;
/* Always zero. */
unsigned
short
d_reclen
;
/* Always zero. */
unsigned
short
d_namlen
;
/* Length of name in d_name. */
char
d_name
[
FILENAME_MAX
];
/* File name. */
};
# define opendir vlc_opendir
# define readdir vlc_readdir
# define closedir vlc_closedir
# define rewinddir vlc_rewindir
# define seekdir vlc_seekdir
# define telldir vlc_telldir
VLC_EXPORT
(
void
*
,
vlc_opendir
,
(
const
char
*
)
);
VLC_EXPORT
(
void
*
,
vlc_readdir
,
(
void
*
)
);
VLC_EXPORT
(
int
,
vlc_closedir
,
(
void
*
)
);
VLC_INTERNAL
(
void
,
vlc_rewinddir
,
(
void
*
)
);
VLC_INTERNAL
(
void
,
vlc_seekdir
,
(
void
*
,
long
)
);
VLC_INTERNAL
(
long
,
vlc_telldir
,
(
void
*
)
);
#endif
#if defined (WIN32)
#if defined (WIN32)
# include <dirent.h>
# include <dirent.h>
VLC_INTERNAL
(
void
*
,
vlc_wopendir
,
(
const
wchar_t
*
)
);
VLC_INTERNAL
(
void
*
,
vlc_wopendir
,
(
const
wchar_t
*
)
);
...
...
include/vlc_fixups.h
View file @
beee3221
...
@@ -121,4 +121,30 @@ static inline struct tm *localtime_r (const time_t *timep, struct tm *result)
...
@@ -121,4 +121,30 @@ static inline struct tm *localtime_r (const time_t *timep, struct tm *result)
}
}
#endif
#endif
#ifndef HAVE_DIRENT_H
typedef
void
DIR
;
# ifndef FILENAME_MAX
# define FILENAME_MAX (260)
# endif
struct
dirent
{
long
d_ino
;
/* Always zero. */
unsigned
short
d_reclen
;
/* Always zero. */
unsigned
short
d_namlen
;
/* Length of name in d_name. */
char
d_name
[
FILENAME_MAX
];
/* File name. */
};
# define opendir vlc_opendir
# define readdir vlc_readdir
# define closedir vlc_closedir
# define rewinddir vlc_rewindir
# define seekdir vlc_seekdir
# define telldir vlc_telldir
VLC_EXPORT
(
void
*
,
vlc_opendir
,
(
const
char
*
)
);
VLC_EXPORT
(
void
*
,
vlc_readdir
,
(
void
*
)
);
VLC_EXPORT
(
int
,
vlc_closedir
,
(
void
*
)
);
VLC_INTERNAL
(
void
,
vlc_rewinddir
,
(
void
*
)
);
VLC_INTERNAL
(
void
,
vlc_seekdir
,
(
void
*
,
long
)
);
VLC_INTERNAL
(
long
,
vlc_telldir
,
(
void
*
)
);
#endif
#endif
/* !LIBVLC_FIXUPS_H */
#endif
/* !LIBVLC_FIXUPS_H */
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