blob: b7e56afb64cc66f938f73a25633a2da125f2a905 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- libgst/lex.c.orig Wed Dec 27 18:43:24 2000
+++ libgst/lex.c Sat Feb 10 10:11:18 2001
@@ -52,6 +52,9 @@
#include <stdio.h>
#include <ctype.h>
#include <math.h>
+#if defined(__FreeBSD__)
+#include <floatingpoint.h>
+#endif
#ifdef HAVE_READLINE
#include <readline/readline.h>
@@ -764,6 +767,9 @@
if (isNegative) {
num = -num;
}
+#if defined(__FreeBSD__)
+ fpsetmask(0);
+#endif
if (isFloat) {
lvalp->fval = num;
|