When compiling blender (2.80), a lot of warnings are generated stating FINITE() is deprecated and ISFINITE() should be used..
exactly what I did ;-)
Thanks for looking into it,
Roel
ps. I guess this should be done for 2.79 as well
N.B. my editor removed a lot of trailing spaces too.. messes up the patch a bit.. but left them in because well.. they need to go too ;-)