mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
Fix build on 5.x since only 6.1+ has fedisableexcept()
Reported by: Clint Olsen <clint@0lsen.net>
This commit is contained in:
parent
7295aa88c9
commit
5c2ed478d1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=176663
@ -14,7 +14,7 @@
|
||||
|
||||
#else
|
||||
|
||||
+#if defined(__FreeBSD__) && __FreeBSD_version >= 503000
|
||||
+#if defined(__FreeBSD__) && __FreeBSD_version >= 601000
|
||||
+#include <fenv.h>
|
||||
+#define FIX_FPU() (fedisableexcept(FE_ALL_EXCEPT))
|
||||
+
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
#else
|
||||
|
||||
+#if defined(__FreeBSD__) && __FreeBSD_version >= 503000
|
||||
+#if defined(__FreeBSD__) && __FreeBSD_version >= 601000
|
||||
+#include <fenv.h>
|
||||
+#define FIX_FPU() (fedisableexcept(FE_ALL_EXCEPT))
|
||||
+
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
#else
|
||||
|
||||
+#if defined(__FreeBSD__) && __FreeBSD_version >= 503000
|
||||
+#if defined(__FreeBSD__) && __FreeBSD_version >= 601000
|
||||
+#include <fenv.h>
|
||||
+#define FIX_FPU() (fedisableexcept(FE_ALL_EXCEPT))
|
||||
+
|
||||
|
Loading…
Reference in New Issue
Block a user