summaryrefslogtreecommitdiff
path: root/lpsolve/lpsolve-5.5.2.0.defines.patch
blob: a325c137033505c2175aaaa98290494a81fcd054 (plain)
    1 --- lp_solve_5.5/lpsolve55/ccc
    2 +++ lp_solve_5.5/lpsolve55/ccc
    3 @@ -18,7 +18,7 @@
    4  echo '#include <stdio.h>'>>/tmp/isnan.c
    5  echo '#include <stdlib.h>'>>/tmp/isnan.c
    6  echo '#include <math.h>'>>/tmp/isnan.c
    7 -echo 'main(){isnan(0);}'>>/tmp/isnan.c
    8 +echo 'main(){isnan(0.0);}'>>/tmp/isnan.c
    9  $c /tmp/isnan.c -o /tmp/isnan $math >/dev/null 2>&1
   10  if [ $? = 0 ]
   11  then NOISNAN=
   12 --- lp_solve_5.5/lp_solve/ccc
   13 +++ lp_solve_5.5/lp_solve/ccc
   14 @@ -20,7 +20,7 @@
   15  echo '#include <stdio.h>'>>/tmp/isnan.c
   16  echo '#include <stdlib.h>'>>/tmp/isnan.c
   17  echo '#include <math.h>'>>/tmp/isnan.c
   18 -echo 'main(){isnan(0);}'>>/tmp/isnan.c
   19 +echo 'main(){isnan(0.0);}'>>/tmp/isnan.c
   20  $c /tmp/isnan.c -o /tmp/isnan $math >/dev/null 2>&1
   21  if [ $? = 0 ]
   22  then NOISNAN=

Generated by cgit