ports/databases/firebird25-server/files/patch-src-common-classes-FpeControl.h
Pawel Pekala 7afb587cfc - Update to version 2.5.6 [1]
- Add CPE and libedit support [1]
- Use @preunexec instead of the deprecated @unexec in pkg-plist [1]
- Regenerate patches with make makepatch

PR:		211387 [1]
Submitted by:	luca.pizzamiglio@gmail.com [1]
2016-08-18 14:02:47 +00:00

18 lines
446 B
C++

--- src/common/classes/FpeControl.h.orig 2016-06-30 09:34:54 UTC
+++ src/common/classes/FpeControl.h
@@ -223,13 +223,13 @@ inline bool isinf(double x)
return (!_finite (x) && !isnan(x));
}
#else
-#ifndef isinf
+#if !defined(isinf) && !defined(__FreeBSD__)
template <typename F>
inline bool isinf(F x)
{
return !isnan(x) && isnan(x - x);
}
-#endif // isinf
+#endif // isinf || FreeBSD
#endif // WIN_NT
#endif //CLASSES_FPE_CONTROL_H