diff options
Diffstat (limited to 'math/Scilab/files/patch-ad')
-rw-r--r-- | math/Scilab/files/patch-ad | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/math/Scilab/files/patch-ad b/math/Scilab/files/patch-ad deleted file mode 100644 index 38b18d663324..000000000000 --- a/math/Scilab/files/patch-ad +++ /dev/null @@ -1,44 +0,0 @@ ---- ./routines/sparse/spConfig.h.orig Sat Jul 18 22:31:40 1998 -+++ ./routines/sparse/spConfig.h Sat Aug 8 13:15:56 1998 -@@ -430,5 +430,5 @@ - - /* VAX machine constants */ --#ifdef vax -+#if (defined(vax) && !defined(netbsd)) - # define MACHINE_RESOLUTION 6.93889e-18 - # define LARGEST_REAL 1.70141e+38 -@@ -439,5 +439,5 @@ - - /* MIPS machine constants */ --#ifdef mips -+#if (defined(mips) && !defined(netbsd)) - # define MACHINE_RESOLUTION 6.93889e-18 - # define LARGEST_REAL 1.70141e+38 -@@ -469,5 +469,5 @@ - - /* Sun machine constants */ --#ifdef sun -+#if (defined(sun) && !defined(netbsd)) - /* These values are rumored to be the correct values. */ - # define MACHINE_RESOLUTION 8.9e-15 -@@ -478,5 +478,5 @@ - #endif - /* DEC alpha machine constant*/ --#ifdef __alpha -+#if (defined(__alpha) && !defined(netbsd)) - # include <limits.h> - # include <float.h> -@@ -488,4 +488,13 @@ - #endif - #ifdef linux -+# include <limits.h> -+# include <float.h> -+# define MACHINE_RESOLUTION DBL_EPSILON -+# define LARGEST_REAL DBL_MAX -+# define SMALLEST_REAL DBL_MIN -+# define LARGEST_SHORT_INTEGER SHRT_MAX -+# define LARGEST_LONG_INTEGER LONG_MAX -+#endif -+#if defined(netbsd) || defined(freebsd) - # include <limits.h> - # include <float.h> |