1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/math/octave-devel/files/patch-af

21 lines
708 B
Plaintext
Raw Normal View History

--- 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)