mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Follow JUCE_LOG_CURRENT_ASSERTION with semicolon
This allows defining JUCE_LOG_CURRENT_ASSERTION when using Visual Studio, where escaping semicolons in the command-line is not possible.
This commit is contained in:
parent
6a470bef5b
commit
1e10b6df60
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ namespace juce
|
|||
// If debugging is disabled, these dummy debug and assertion macros are used..
|
||||
|
||||
#define DBG(textToWrite)
|
||||
#define jassertfalse JUCE_BLOCK_WITH_FORCED_SEMICOLON (JUCE_LOG_CURRENT_ASSERTION)
|
||||
#define jassertfalse JUCE_BLOCK_WITH_FORCED_SEMICOLON (JUCE_LOG_CURRENT_ASSERTION;)
|
||||
|
||||
#if JUCE_LOG_ASSERTIONS
|
||||
#define jassert(expression) JUCE_BLOCK_WITH_FORCED_SEMICOLON (if (! (expression)) jassertfalse;)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue