$NetBSD: patch-aa,v 1.6 2003/11/19 00:00:01 sommerfeld Exp $ --- src/libguppispecfns/const.c.orig 2001-05-05 14:16:23.000000000 -0400 +++ src/libguppispecfns/const.c @@ -93,11 +93,13 @@ double LOGE2 = 6.93147180559945309417E-1 double LOGSQ2 = 3.46573590279972654709E-1; /* log(2)/2 */ double THPIO4 = 2.35619449019234492885; /* 3*pi/4 */ double TWOOPI = 6.36619772367581343075535E-1; /* 2/pi */ +#ifndef INFINITY #ifdef INFINITIES double INFINITY = 1.0 / 0.0; /* 99e999; */ #else double INFINITY = 1.79769313486231570815E308; /* 2**1024*(1-MACHEP) */ #endif +#endif #ifdef MINUSZERO double NEGZERO = -0.0;