$NetBSD: patch-af,v 1.2 2000/04/28 08:59:37 wennmach Exp $
--- liboctave/lo-ieee.cc.orig	Wed Apr 26 20:14:02 2000
+++ liboctave/lo-ieee.cc	Wed Apr 26 20:18:16 2000
@@ -64,7 +64,7 @@
 #if defined (SCO)
   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 =  (*((double *) (DINFINITY)));
 #else
@@ -83,7 +83,7 @@
 
 #if defined (HAVE_ISNAN)
 
-#if defined (__alpha__) && ! defined (linux)
+#if defined (__alpha__) && defined(__osf__)
   extern unsigned int DQNAN[2];
   octave_NaN = (*((double *) (DQNAN)));
 #else
