summaryrefslogtreecommitdiff
path: root/databases/firebird25-server/files/patch-src-common-classes-FpeControl.h
blob: 1f1dbc887be8624a4075ecb75ab9e99cb7c48ae6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- 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