Fixed IrDA to be compatible with Win32