8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 10:03:03 +01:00

Fix Travis (Ubuntu Xenial) build.

This reverts commit 07456f37cd.
This commit is contained in:
Adriano dos Santos Fernandes 2020-05-14 11:54:16 -03:00
parent 4fdd3d644a
commit 986e0a5238

View File

@ -222,6 +222,14 @@ inline bool isinf(double x)
{
return (!_finite (x) && !isnan(x));
}
#else
#ifndef isinf
template <typename F>
inline bool isinf(F x)
{
return !isnan(x) && isnan(x - x);
}
#endif // isinf
#endif // WIN_NT
namespace Firebird {