Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
448
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
d157ba1f
Commit
d157ba1f
authored
8 years ago
by
Rémi Denis-Courmont
Browse files
Options
Downloads
Patches
Plain Diff
memrchr: fix compilation
parent
cfde608b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
compat/memrchr.c
+0
-1
0 additions, 1 deletion
compat/memrchr.c
include/vlc_fixups.h
+5
-4
5 additions, 4 deletions
include/vlc_fixups.h
with
5 additions
and
5 deletions
compat/memrchr.c
+
0
−
1
View file @
d157ba1f
...
...
@@ -20,7 +20,6 @@
#endif
#include
<string.h>
#include
<stddef.h>
/*
* Reverse memchr()
...
...
This diff is collapsed.
Click to expand it.
include/vlc_fixups.h
+
5
−
4
View file @
d157ba1f
...
...
@@ -77,6 +77,7 @@ typedef struct
#endif
#if !defined (HAVE_POSIX_MEMALIGN) || \
!defined (HAVE_MEMRCHR) || \
!defined (HAVE_STRLCPY) || \
!defined (HAVE_STRNDUP) || \
!defined (HAVE_STRNLEN) || \
...
...
@@ -139,6 +140,10 @@ int vasprintf (char **, const char *, va_list);
int
ffsll
(
unsigned
long
long
);
#endif
#ifndef HAVE_MEMRCHR
void
*
memrchr
(
const
void
*
,
int
,
size_t
);
#endif
#ifndef HAVE_STRCASECMP
int
strcasecmp
(
const
char
*
,
const
char
*
);
#endif
...
...
@@ -268,10 +273,6 @@ int unsetenv (const char *);
int
posix_memalign
(
void
**
,
size_t
,
size_t
);
#endif
#ifndef HAVE_MEMRCHR
void
*
memrchr
(
const
void
*
,
int
,
size_t
);
#endif
/* locale.h */
#ifndef HAVE_USELOCALE
#define LC_ALL_MASK 0
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment