Commit e8ba5754 authored by Thomas Guillem's avatar Thomas Guillem Committed by Rémi Denis-Courmont

android: fix nanf detection

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent dc1c7516
......@@ -696,6 +696,9 @@ AC_CHECK_LIB(m,lrintf, [
AC_DEFINE(HAVE_LRINTF, 1, [Define to 1 if you have the lrintf function])
VLC_ADD_LIBS([skins2],[-lm])
])
AC_CHECK_LIB(m,nanf,
AC_DEFINE(HAVE_NANF, 1, [Define to 1 if you have the NANF function])
)
dnl Check for dynamic plugins
LIBDL=""
......
......@@ -353,7 +353,7 @@ long nrand48 (unsigned short subi[3]);
/* math.h */
#ifdef __ANDROID__
#ifndef HAVE_NANF
#define nanf(tagp) NAN
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment