summaryrefslogtreecommitdiff
path: root/math/Scilab/files/patch-af
blob: 657de1b206633ccc534428572ffda154c6805a0e (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
--- routines/sun/link.c.orig	Tue Aug 25 04:24:09 1998
+++ routines/sun/link.c	Sat Dec 19 00:53:28 1998
@@ -120,9 +120,9 @@
 
 
-#if defined(sun) || defined(__alpha) || defined(sgi) || (!defined(hppa_old) && defined(hppa))
+#if defined(netbsd) || defined(freebsd) || defined(sun) || defined(__alpha) || defined(sgi) || (!defined(hppa_old) && defined(hppa))
 #include "link_SYSV.c"
 #else
 /** no more used on sun */
-#if defined(sun_old) ||  defined(mips) || defined(_IBMR2) || defined(hppa_old)
+#if defined(sun_old) ||  (defined(mips) && !defined(netbsd)) || defined(_IBMR2) || defined(hppa_old)
 #ifdef SUNOSDLD 
 #include "link_linux.c"
@@ -145,4 +145,8 @@
   C2F(dyncall)() {cerro("Dynamic link not implemented");}
   **/
+int LinkStatus()
+{
+  return(0);
+}
 
 void SciLink(iflag,rhs,ilib,files,en_names,strf)