From ad729278c74c3040d1940ff2593bd3a072b0cc6c Mon Sep 17 00:00:00 2001 From: reuk Date: Fri, 2 Oct 2020 14:45:21 +0100 Subject: [PATCH] Audio Devices: Fix build when trying to use WinRT Midi and building with Clang --- modules/juce_audio_devices/juce_audio_devices.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_audio_devices/juce_audio_devices.cpp b/modules/juce_audio_devices/juce_audio_devices.cpp index 007e5fd3f1..b3a315c9d9 100644 --- a/modules/juce_audio_devices/juce_audio_devices.cpp +++ b/modules/juce_audio_devices/juce_audio_devices.cpp @@ -83,7 +83,7 @@ #include "native/juce_win32_DirectSound.cpp" #endif - #if JUCE_USE_WINRT_MIDI && JUCE_MSVC + #if JUCE_USE_WINRT_MIDI && (JUCE_MSVC || JUCE_CLANG) /* If you cannot find any of the header files below then you are probably attempting to use the Windows 10 Bluetooth Low Energy API. For this to work you need to install version 10.0.14393.0 of the Windows Standalone SDK and you may