X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Fmath.h;h=906914011d7c09e948559488446c50847f2b03ce;hp=2fdcb7b4661ba411238facd4141444429a5d6bdf;hb=c87584a3e962dabd7b97733bfc3700e003d87d28;hpb=b99836f3ad817788002bc0def7e2442341c03414 diff --git a/include/math.h b/include/math.h index 2fdcb7b4..90691401 100644 --- a/include/math.h +++ b/include/math.h @@ -5,6 +5,8 @@ extern "C" { #endif +#include + #define __NEED_float_t #define __NEED_double_t #define __NEED___uint16_t @@ -83,10 +85,7 @@ int __signbitl(long double); #define isunordered(x,y) (isnan((x)) ? ((void)(y),1) : isnan((y))) -#if __STDC_VERSION__ >= 199901L -inline -#endif -static int __isrel(long double __x, long double __y, int __rel) +static __inline int __isrel(long double __x, long double __y, int __rel) { if (isunordered(__x, __y)) return 0; if (__rel==-2) return __x < __y;