]> git.sesse.net Git - vlc/commitdiff
Fix the compilation on Android because of incomplete libc.
authorAdrien Maglo <magsoft@videolan.org>
Thu, 22 May 2014 15:40:09 +0000 (17:40 +0200)
committerAdrien Maglo <magsoft@videolan.org>
Fri, 23 May 2014 08:00:00 +0000 (10:00 +0200)
The nanf function is missing.

include/vlc_fixups.h

index 26bba5eecc1bb47c399ec3b7189b101923093f07..c3d5fac176daf748e936c811e0ad18fa68df9500 100644 (file)
@@ -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 */