From 1252f0aed0947b61b8434da2f1b31e42e3e7e7d6 Mon Sep 17 00:00:00 2001 From: jules Date: Tue, 27 Nov 2012 15:00:22 +0000 Subject: [PATCH] Fix for last ASIO check-in. --- modules/juce_audio_devices/native/juce_win32_ASIO.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 }