From bd3eaf83ef1b4954b6c0e7ba8bbdd29b2cd4a833 Mon Sep 17 00:00:00 2001 From: Cristian Morales Vega Date: Tue, 23 Sep 2014 13:17:25 +0100 Subject: Do not define unimplemented functions e.g. fminf() is not implemented, only fmin(), but both are defined. Signed-off-by: Cristian Morales Vega --- include/math.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/math.h') diff --git a/include/math.h b/include/math.h index ecb9aa6f6..40dd90ef0 100644 --- a/include/math.h +++ b/include/math.h @@ -118,6 +118,7 @@ __BEGIN_DECLS # define _Mfloat_ float # endif # define _Mdouble_ _Mfloat_ +# define _Mdouble_is_float_ # ifdef __STDC__ # define __MATH_PRECNAME(name,r) name##f##r # else @@ -126,6 +127,7 @@ __BEGIN_DECLS # define _Mdouble_BEGIN_NAMESPACE __BEGIN_NAMESPACE_C99 # define _Mdouble_END_NAMESPACE __END_NAMESPACE_C99 # include +# undef _Mdouble_is_float_ # undef _Mdouble_ # undef _Mdouble_BEGIN_NAMESPACE # undef _Mdouble_END_NAMESPACE -- cgit v1.2.3