--- qtcurve-1.8.18-orig/lib/utils/color.h +++ qtcurve-1.8.18-uclibc/lib/utils/color.h @@ -250,7 +250,11 @@ qtcColorTint(const QColor *base, const Q return *base; } else if (amount >= 1.0) { return *col; +#ifdef __UCLIBC__ + } else if (std::isnan(amount)) { +#else } else if (isnan(amount)) { +#endif return *base; } const QtcColor qtc_base = {base->redF(), base->greenF(), base->blueF()}; @@ -267,7 +271,11 @@ qtcColorMix(const QColor *c1, const QCol return *c1; } else if (bias >= 1.0) { return *c2; +#ifdef __UCLIBC__ + } else if (std::isnan(bias)) { +#else } else if (isnan(bias)) { +#endif return *c1; } const QtcColor qtc_c1 = {c1->redF(), c1->greenF(), c1->blueF()};