Browse Source

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.
v7.0.9
attila 2 years ago
parent
commit
1e10b6df60
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_core/system/juce_PlatformDefs.h

+ 1
- 1
modules/juce_core/system/juce_PlatformDefs.h View File

@@ -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…
Cancel
Save