1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/lang/smalltalk/files/patch-aa

23 lines
422 B
Plaintext
Raw Normal View History

--- lib/lex.c.orig Mon Feb 21 19:05:50 2000
+++ lib/lex.c Sat Mar 25 21:43:17 2000
@@ -50,6 +50,9 @@
#include <stdio.h>
#include <math.h>
+#if defined(__FreeBSD__)
+#include <floatingpoint.h>
+#endif
#ifdef HAVE_READLINE
#include <readline/readline.h>
@@ -735,6 +738,9 @@
if (isNegative) {
num = -num;
}
+#if defined(__FreeBSD__)
+ fpsetmask(0);
+#endif
if (isFloat) {
lvalp->fval = num;