blob: 369d9e60824ec59e0b26d1b716eacd5d2f2ee01a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-al,v 1.2 2001/04/19 15:10:36 dmcmahill Exp $
--- liboctave/lo-ieee.cc.orig Tue Jan 25 16:23:09 2000
+++ liboctave/lo-ieee.cc Thu Apr 19 08:02:52 2001
@@ -65,5 +65,5 @@
double tmp = 1.0;
octave_Inf = 1.0 / (tmp - tmp);
-#elif defined (__alpha__) && ! defined (linux)
+#elif defined (__alpha__) && defined (__osf__)
extern unsigned int DINFINITY[2];
octave_Inf = (*(X_CAST(double *, DINFINITY)));
@@ -84,5 +84,5 @@
#if defined (HAVE_ISNAN)
-#if defined (__alpha__) && ! defined (linux)
+#if defined (__alpha__) && defined (__osf__)
extern unsigned int DQNAN[2];
octave_NaN = (*(X_CAST(double *, DQNAN)));
|