aboutsummaryrefslogtreecommitdiff
path: root/math/oleo/files/patch-src_ref.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/oleo/files/patch-src_ref.c')
-rw-r--r--math/oleo/files/patch-src_ref.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/math/oleo/files/patch-src_ref.c b/math/oleo/files/patch-src_ref.c
new file mode 100644
index 000000000000..f7e9c2a48953
--- /dev/null
+++ b/math/oleo/files/patch-src_ref.c
@@ -0,0 +1,20 @@
+--- src/ref.c.orig Wed Feb 14 08:38:06 2001
++++ src/ref.c Sat Jul 19 13:51:39 2003
+@@ -263,7 +263,7 @@
+ read_new_value (CELLREF row, CELLREF col, char *form, char *val)
+ {
+ unsigned char *new_bytes;
+- extern double __plinf, __neinf, __nan;
++ extern double __plinf, __neinf, ___nan;
+
+ cur_row = row;
+ cur_col = col;
+@@ -348,7 +348,7 @@
+ else if (!stricmp (nname, val))
+ {
+ SET_TYP (my_cell, TYP_FLT);
+- my_cell->cell_flt = __nan;
++ my_cell->cell_flt = ___nan;
+ }
+ else
+ {