1
0
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:
Michael Johnson 2006-11-06 23:26:20 +00:00
parent 7295aa88c9
commit 5c2ed478d1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=176663
3 changed files with 3 additions and 3 deletions

View File

@ -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))
+

View File

@ -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))
+

View File

@ -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))
+