From 52227381eb0661681cb159d65d6aa69bda623f3a Mon Sep 17 00:00:00 2001 From: Adrien Maglo Date: Thu, 22 May 2014 17:40:09 +0200 Subject: [PATCH] Fix the compilation on Android because of incomplete libc. 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 26bba5eecc..c3d5fac176 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 */ -- 2.39.5