mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
23 lines
787 B
Plaintext
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>
|