summaryrefslogtreecommitdiff
path: root/math/scilab/files/patch-ad
blob: 9c3201b70b044dcc658643a436e59c9c06678454 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
diff -c -r /usr/LOCAL/scilab2.3/work/scilab-2.3/imp/Slatexpr2.c ./imp/Slatexpr2.c
*** /usr/LOCAL/scilab2.3/work/scilab-2.3/imp/Slatexpr2.c	Mon May 12 16:34:55 1997
--- ./imp/Slatexpr2.c	Wed May 21 01:00:03 1997
***************
*** 5,10 ****
--- 5,13 ----
  #include <malloc.h>
  #endif 
  #include <stdio.h>
+ #ifdef __FreeBSD__
+ #include <floatingpoint.h>
+ #endif
  
  void readOneLine();
  
***************
*** 142,147 ****
--- 145,153 ----
    int i ;
    FILE *fd;
    FILE *fdo;
+ #ifdef __FreeBSD__
+   fpsetmask(0);
+ #endif
    if (argc !=4 ) { int i=0;
  		   while (strcmp(UsageStr[i],"fin")!=0)
  		     {