mswin32 compatibility