Same here. Include "fmath.h" to get proper platform-specific definitions of isinf/isnan, rather than defining new macros in this file.