summaryrefslogtreecommitdiffstats
path: root/sys/sys/soundcard.h
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2016-06-04 18:57:00 +0000
committered <ed@FreeBSD.org>2016-06-04 18:57:00 +0000
commitb0c1af7896fd7953892f7ec9e5f3dd2c70ff4093 (patch)
treeaacbbfc65ad24ebabd8f610f2571149bb18c47e8 /sys/sys/soundcard.h
parentc6f9d3eb6cf9ff934871f11fede5b915a53fffee (diff)
downloadFreeBSD-src-b0c1af7896fd7953892f7ec9e5f3dd2c70ff4093.zip
FreeBSD-src-b0c1af7896fd7953892f7ec9e5f3dd2c70ff4093.tar.gz
Don't test for INKERNEL to check whether we're in kernel space.
It turns out that <machine/param.h> actually defines a macro under this name, even when we're not in kernelspace. This causes us to suppress some macro definitions that are used by userspace apps. PR: 210026 Reported by: jbeich@ MFC after: 2 weeks
Diffstat (limited to 'sys/sys/soundcard.h')
-rw-r--r--sys/sys/soundcard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/soundcard.h b/sys/sys/soundcard.h
index 4867f6c..5506cea 100644
--- a/sys/sys/soundcard.h
+++ b/sys/sys/soundcard.h
@@ -1261,7 +1261,7 @@ typedef struct mixer_info {
*/
#define LOCL_STARTAUDIO 1
-#if (!defined(_KERNEL) && !defined(INKERNEL)) || defined(USE_SEQ_MACROS)
+#if !defined(_KERNEL) || defined(USE_SEQ_MACROS)
/*
* Some convenience macros to simplify programming of the
* /dev/sequencer interface
OpenPOWER on IntegriCloud