opnsense-ports/math/oleo/files/patch-src_io-utils.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

20 lines
407 B
C

--- src/io-utils.c.org Sat Jul 19 13:42:11 2003
+++ src/io-utils.c Sat Jul 19 13:48:32 2003
@@ -71,7 +71,7 @@
double __plinf;
double __neinf;
-double __nan;
+double ___nan;
char nname[] = "#NOT_A_NUMBER";
char iname[] = "#INFINITY";
@@ -125,7 +125,7 @@
__neinf = divide (-1., 0.);
(void) signal (SIGFPE, ignore_sig);
#endif
- __nan = __plinf + __neinf;
+ ___nan = __plinf + __neinf;
}