1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/math/Scilab/files/patch-ai
Thomas Gellekum cad64cdf20 Import of Scilab port. Scilab is a matlab-like package.
PR:		3867
Submitted by:	Paulo Menezes <paulo@isr.uc.pt>
1997-06-18 12:14:52 +00:00

23 lines
787 B
Plaintext

diff -c -r /usr/LOCAL/scilab2.3/work/scilab-2.3/routines/sparse/spConfig.h ./routines/sparse/spConfig.h
*** /usr/LOCAL/scilab2.3/work/scilab-2.3/routines/sparse/spConfig.h Mon May 12 16:34:02 1997
--- ./routines/sparse/spConfig.h Fri May 16 20:08:24 1997
***************
*** 495,500 ****
--- 495,510 ----
# define LARGEST_SHORT_INTEGER SHRT_MAX
# define LARGEST_LONG_INTEGER LONG_MAX
#endif
+ #ifdef freebsd
+ # 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
+
#ifdef WIN32
# include <limits.h>
# include <float.h>