Skip to content
Snippets Groups Projects
Commit d5e1dd70 authored by Thomas Guillem's avatar Thomas Guillem Committed by Hugo Beauzée-Luyssen
Browse files

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
No related tags found
1 merge request!2286fix build with new Android NDK25
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment