ENH: No fmax with Windows SDK so define inline.