summaryrefslogtreecommitdiffstats
path: root/math/Scilab/files/patch-ac
blob: a7eb66c2c10cd64ee5b1d64271272df687659596 (plain)
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/geci/scruteur.c ./geci/scruteur.c
*** /usr/LOCAL/scilab2.3/work/scilab-2.3/geci/scruteur.c	Mon May 12 16:34:55 1997
--- ./geci/scruteur.c	Wed May 21 00:58:59 1997
***************
*** 12,17 ****
--- 12,20 ----
  #include <stdio.h>
  #include <signal.h>
  #include <netdb.h>
+ #ifdef __FreeBSD__
+ #include <floatingpoint.h>
+ #endif
  
  #include "listes_chainees.h"
  #include "utilitaires.h"
***************
*** 45,50 ****
--- 48,56 ----
  #if defined (sun) && defined (SYSV)
    sigset_t set,oset;
  #endif  
+ #ifdef __FreeBSD__
+   fpsetmask(0);
+ #endif
    
    signal(SIGTERM,signal_arret_scruteur);
    signal(SIGQUIT,signal_arret_scruteur);
OpenPOWER on IntegriCloud