Workaround for broken OSS_GETVERSION on FreeBSD, part two
Turns out on those versions of FreeBSD (>= 7.x) that know OSS_GETVERSION the ioctl doesn't actually work yet (except in the Linuxolator), so if building on FreeBSD assume the sound drivers are new enough if the ioctl returns the errno it does currently on FreeBSD. (Rev 2 after private discussion with malc.) Signed-off-by: NJuergen Lock <nox@jelal.kn-bremen.de> Signed-off-by: Nmalc <av1474@comtv.ru> (cherry picked from commit 72ff25e4)
Showing
想要评论请 注册 或 登录