diff --git a/modules/juce_audio_devices/native/juce_win32_ASIO.cpp b/modules/juce_audio_devices/native/juce_win32_ASIO.cpp index c5adf0713d..41da524ba6 100644 --- a/modules/juce_audio_devices/native/juce_win32_ASIO.cpp +++ b/modules/juce_audio_devices/native/juce_win32_ASIO.cpp @@ -65,8 +65,9 @@ namespace ASIODebugging logMessage ("ASIO error: " + context + " - " + err); } #else - #define JUCE_ASIO_LOG(a) {} - #define JUCE_ASIO_LOG_ERROR(a, b) {} + static void dummyLog() {} + #define JUCE_ASIO_LOG(a) ASIODebugging::dummyLog() + #define JUCE_ASIO_LOG_ERROR(a, b) ASIODebugging::dummyLog() #endif }