3d5726a2fd
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/lpsolve#6280d1ef85fe8d6eb35d658d66c7eabea51838aa
23 lines
734 B
Diff
23 lines
734 B
Diff
--- lp_solve_5.5/lpsolve55/ccc
|
|
+++ lp_solve_5.5/lpsolve55/ccc
|
|
@@ -18,7 +18,7 @@
|
|
echo '#include <stdio.h>'>>/tmp/isnan.c
|
|
echo '#include <stdlib.h>'>>/tmp/isnan.c
|
|
echo '#include <math.h>'>>/tmp/isnan.c
|
|
-echo 'main(){isnan(0);}'>>/tmp/isnan.c
|
|
+echo 'main(){isnan(0.0);}'>>/tmp/isnan.c
|
|
$c /tmp/isnan.c -o /tmp/isnan $math >/dev/null 2>&1
|
|
if [ $? = 0 ]
|
|
then NOISNAN=
|
|
--- lp_solve_5.5/lp_solve/ccc
|
|
+++ lp_solve_5.5/lp_solve/ccc
|
|
@@ -20,7 +20,7 @@
|
|
echo '#include <stdio.h>'>>/tmp/isnan.c
|
|
echo '#include <stdlib.h>'>>/tmp/isnan.c
|
|
echo '#include <math.h>'>>/tmp/isnan.c
|
|
-echo 'main(){isnan(0);}'>>/tmp/isnan.c
|
|
+echo 'main(){isnan(0.0);}'>>/tmp/isnan.c
|
|
$c /tmp/isnan.c -o /tmp/isnan $math >/dev/null 2>&1
|
|
if [ $? = 0 ]
|
|
then NOISNAN=
|