platform.h now defines INFINITY and NAN not only for MSVC