freebsd-ports/math/octave-devel/files/patch-af
Steve Price 91a8f42452 Update to version 2.0.14.
PR:		11504
Submitted by:	nakai@tsl.pe.u-tokyo.ac.jp
1999-12-29 08:54:21 +00:00

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)