summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorcg <cg@FreeBSD.org>2001-02-27 06:58:55 +0000
committercg <cg@FreeBSD.org>2001-02-27 06:58:55 +0000
commit27c9f9bb292fab13f540b5b6e8af1a093b77bd84 (patch)
tree5a4b2f267b4f1d6b0e2d51740492d99303dce2db /sys/dev
parent4c7b9622b2665b638a88720dea8ad687aa180975 (diff)
downloadFreeBSD-src-27c9f9bb292fab13f540b5b6e8af1a093b77bd84.zip
FreeBSD-src-27c9f9bb292fab13f540b5b6e8af1a093b77bd84.tar.gz
MFS: 4.x/5.x compatibility #defines
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/sound/pcm/sound.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/sound/pcm/sound.h b/sys/dev/sound/pcm/sound.h
index 48ed90b..999f62a 100644
--- a/sys/dev/sound/pcm/sound.h
+++ b/sys/dev/sound/pcm/sound.h
@@ -68,6 +68,12 @@
#include <vm/vm.h>
#include <vm/pmap.h>
+#if __FreeBSD_version > 500000
+#define USING_MUTEX
+#define USING_DEVFS
+#define SND_DYNSYSCTL
+#endif
+
#else
struct isa_device { int dummy; };
#define d_open_t void
OpenPOWER on IntegriCloud