mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
7330bcc8bf
PR: ports/58238 Submitted by: AMAKAWA Shuhei <sa264@cam.ac.uk> (maintainer) Approved by: adamw (mentor)
26 lines
533 B
Plaintext
26 lines
533 B
Plaintext
--- cider/common/src/bin/main.c.orig Sat Mar 12 08:20:59 1994
|
|
+++ cider/common/src/bin/main.c Fri Oct 17 22:19:55 2003
|
|
@@ -36,6 +36,11 @@
|
|
#endif
|
|
|
|
#include "patchlev.h"
|
|
+
|
|
+#ifdef __FreeBSD__
|
|
+#include <ieeefp.h>
|
|
+#endif
|
|
+
|
|
#include "suffix.h"
|
|
|
|
/* (Virtual) Machine architecture parameters */
|
|
@@ -214,6 +219,10 @@
|
|
FILE *fp;
|
|
FILE *circuit_file;
|
|
|
|
+#endif
|
|
+
|
|
+#ifdef __FreeBSD__
|
|
+ fpsetmask(fpgetmask() & ~FP_X_INV & ~FP_X_DZ & ~FP_X_OFL);
|
|
#endif
|
|
|
|
/* MFB tends to jump to 0 on errors. This tends to catch it. */
|