mirror of
https://git.freebsd.org/ports.git
synced 2025-07-08 21:09:17 -04:00
- 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]
18 lines
446 B
C++
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
|