[vlc-devel] [PATCH] Fix the compilation on Android because of incomplete libc.
Adrien Maglo
magsoft at videolan.org
Thu May 22 17:41:31 CEST 2014
The nanf function is missing.
---
include/vlc_fixups.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
index 26bba5e..c3d5fac 100644
--- a/include/vlc_fixups.h
+++ b/include/vlc_fixups.h
@@ -343,4 +343,10 @@ long nrand48 (unsigned short subi[3]);
# undef HAVE_FORK /* Implementation of fork() is imperfect on OS/2 */
#endif
+/* math.h */
+
+#ifdef __ANDROID__
+#define nanf(tagp) NAN
+#endif
+
#endif /* !LIBVLC_FIXUPS_H */
--
1.9.1
More information about the vlc-devel
mailing list