diff --git a/modules/juce_core/system/juce_PlatformDefs.h b/modules/juce_core/system/juce_PlatformDefs.h index 83d154a6d4..54ab399a6b 100644 --- a/modules/juce_core/system/juce_PlatformDefs.h +++ b/modules/juce_core/system/juce_PlatformDefs.h @@ -164,13 +164,13 @@ #define JUCE_STRINGIFY(item) JUCE_STRINGIFY_MACRO_HELPER (item) //============================================================================== -#ifdef JUCE_COMPILER_SUPPORTS_STATIC_ASSERT +#if JUCE_COMPILER_SUPPORTS_STATIC_ASSERT /** A compile-time assertion macro. If the expression parameter is false, the macro will cause a compile error. (The actual error message that the compiler generates may be completely bizarre and seem to have no relation to the place where you put the static_assert though!) */ - #define static_jassert(expression) static_assert (expression); + #define static_jassert(expression) static_assert(expression, #expression); #else #ifndef DOXYGEN namespace juce diff --git a/modules/juce_core/system/juce_StandardHeader.h b/modules/juce_core/system/juce_StandardHeader.h index c8440576ae..dded5d8d66 100644 --- a/modules/juce_core/system/juce_StandardHeader.h +++ b/modules/juce_core/system/juce_StandardHeader.h @@ -52,8 +52,8 @@ //============================================================================== #include // included before platform defs to provide a definition of _LIBCPP_VERSION -#include "juce_PlatformDefs.h" #include "juce_CompilerSupport.h" +#include "juce_PlatformDefs.h" //============================================================================== // Now we'll include some common OS headers..