diff options
author | Juergen Lock <nox@jelal.kn-bremen.de> | 2010-01-12 23:48:04 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-04-25 12:20:26 +0200 |
commit | d04d7cf15854e92ad6d0414ae760334966534a68 (patch) | |
tree | 3492ba3fa4693ab98f664bcbcca873fbbae05065 /device_tree.c | |
parent | 2b8bdd5c7fc3f4de476b5c4d48ea702a220a7461 (diff) |
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: Juergen Lock <nox@jelal.kn-bremen.de>
Signed-off-by: malc <av1474@comtv.ru>
(cherry picked from commit 72ff25e4e98d6dba9286d032b9ff5432553bbad5)
Diffstat (limited to 'device_tree.c')
0 files changed, 0 insertions, 0 deletions