From c54bbc27561c369a964420c695d08f5a86c0305d Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Sat, 4 Jun 2016 18:57:00 +0000 Subject: [PATCH] Don't test for INKERNEL to check whether we're in kernel space. It turns out that 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 --- sys/sys/soundcard.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/soundcard.h b/sys/sys/soundcard.h index 4867f6c3142..5506cea91dc 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