View | Details | Raw Unified | Return to bug 208469
Collapse All | Expand All

(-)databases/firebird25-server/files/patch-src-common-classes-FpeControl.h (+18 lines)
Line 0 Link Here
1
--- src/common/classes/FpeControl.h.orig	2015-03-27 14:47:01.000000000 +0100
2
+++ src/common/classes/FpeControl.h	2016-04-02 19:45:10.096583000 +0200
3
@@ -223,13 +223,13 @@
4
 	return (!_finite (x) && !isnan(x));
5
 }
6
 #else
7
-#ifndef isinf
8
+#if !defined(isinf) && !defined(__FreeBSD__)
9
 template <typename F>
10
 inline bool isinf(F x)
11
 {
12
 	return !isnan(x) && isnan(x - x);
13
 }
14
-#endif // isinf
15
+#endif // isinf || FreeBSD
16
 #endif // WIN_NT
17
 
18
 #endif //CLASSES_FPE_CONTROL_H

Return to bug 208469