Moved isnan/isinf compat code to lmms_math.h
isinf and isnan declarations win32/apple
Merge pull request #918 from tresf/stable-1.1

Fix win32 build error caused by #913