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
458
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
d5e1dd70
Commit
d5e1dd70
authored
2 years ago
by
Thomas Guillem
Committed by
Hugo Beauzée-Luyssen
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
vlc_fixups: don't declare swab() on Android NDK25
Fix build on Android NDK25, where swab() is a static inline function defined in <unistd.h>.
parent
2322d55d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!2286
fix build with new Android NDK25
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/vlc_fixups.h
+3
-0
3 additions, 0 deletions
include/vlc_fixups.h
with
3 additions
and
0 deletions
include/vlc_fixups.h
+
3
−
0
View file @
d5e1dd70
...
...
@@ -375,8 +375,11 @@ extern "C" {
#endif
#ifndef HAVE_SWAB
/* Android NDK25 have swab but configure fails to detect it */
#ifndef __ANDROID__
void
swab
(
const
void
*
,
void
*
,
ssize_t
);
#endif
#endif
/* Socket stuff */
#ifndef HAVE_INET_PTON
...
...
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