mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
91a8f42452
PR: 11504 Submitted by: nakai@tsl.pe.u-tokyo.ac.jp
21 lines
708 B
Plaintext
21 lines
708 B
Plaintext
--- liboctave/lo-ieee.cc.orig Tue Dec 28 22:05:23 1999
|
|
+++ liboctave/lo-ieee.cc Tue Dec 28 22:06:07 1999
|
|
@@ -68,7 +68,7 @@
|
|
#if defined (SCO)
|
|
double tmp = 1.0;
|
|
octave_Inf = 1.0 / (tmp - tmp);
|
|
-#elif defined (__alpha__) && ! defined (linux)
|
|
+#elif defined (__alpha__) && ! defined (linux) && ! defined (__FreeBSD__)
|
|
extern unsigned int DINFINITY[2];
|
|
octave_Inf = (*((double *) (DINFINITY)));
|
|
#elif defined (HAVE_INFINITY)
|
|
@@ -89,7 +89,7 @@
|
|
|
|
#if defined (HAVE_ISNAN)
|
|
|
|
-#if defined (__alpha__) && ! defined (linux)
|
|
+#if defined (__alpha__) && ! defined (linux) && ! defined (__FreeBSD__)
|
|
extern unsigned int DQNAN[2];
|
|
octave_NaN = (*((double *) (DQNAN)));
|
|
#elif defined (HAVE_QUIET_NAN)
|