diff options
author | ed <ed@FreeBSD.org> | 2016-06-04 18:57:00 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2016-06-04 18:57:00 +0000 |
commit | b0c1af7896fd7953892f7ec9e5f3dd2c70ff4093 (patch) | |
tree | aacbbfc65ad24ebabd8f610f2571149bb18c47e8 /sys/sys/soundcard.h | |
parent | c6f9d3eb6cf9ff934871f11fede5b915a53fffee (diff) | |
download | FreeBSD-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.h | 2 |
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 |