ports/math/oleo/files/patch-src_io-utils.c
John Marino 0b70cc11ff math/oleo: document ncurses and remove extern errno
While here, regenerate all patches with makepatch
2016-08-23 16:25:35 +00:00

20 lines
444 B
C

--- src/io-utils.c.orig 2001-02-13 23:38:06 UTC
+++ src/io-utils.c
@@ -71,7 +71,7 @@ char numb_oflo[] = "####################
double __plinf;
double __neinf;
-double __nan;
+double ___nan;
char nname[] = "#NOT_A_NUMBER";
char iname[] = "#INFINITY";
@@ -125,7 +125,7 @@ init_infinity (void)
__neinf = divide (-1., 0.);
(void) signal (SIGFPE, ignore_sig);
#endif
- __nan = __plinf + __neinf;
+ ___nan = __plinf + __neinf;
}