From 9241028edab98b98a0bb78f0ee99f502c3eb2d0b Mon Sep 17 00:00:00 2001 From: jules Date: Thu, 14 Jan 2016 15:04:05 +0000 Subject: [PATCH] Added a flag JUCE_DISABLE_ASSERTIONS to allow assertions to be disabled even in a debug build --- modules/juce_core/system/juce_PlatformDefs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_core/system/juce_PlatformDefs.h b/modules/juce_core/system/juce_PlatformDefs.h index 2ff33bcdf3..45e34efb1d 100644 --- a/modules/juce_core/system/juce_PlatformDefs.h +++ b/modules/juce_core/system/juce_PlatformDefs.h @@ -109,7 +109,7 @@ #endif //============================================================================== -#if JUCE_DEBUG || DOXYGEN +#if (JUCE_DEBUG && ! JUCE_DISABLE_ASSERTIONS) || DOXYGEN /** Writes a string to the standard error stream. Note that as well as a single string, you can use this to write multiple items as a stream, e.g.