From 8d86e6350a72edaf15c02ec9f8a2195cf9f8ed81 Mon Sep 17 00:00:00 2001 From: hogliux Date: Mon, 25 Sep 2017 14:29:47 +0100 Subject: [PATCH] Fixed constexpr compiler support detection in gcc --- modules/juce_core/system/juce_CompilerSupport.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_core/system/juce_CompilerSupport.h b/modules/juce_core/system/juce_CompilerSupport.h index e29eeff373..700c67f534 100644 --- a/modules/juce_core/system/juce_CompilerSupport.h +++ b/modules/juce_core/system/juce_CompilerSupport.h @@ -47,7 +47,7 @@ #define JUCE_COMPILER_SUPPORTS_THREAD_LOCAL 1 #endif - #if __cpp_constexpr >= 201304 + #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 #define JUCE_HAS_CONSTEXPR 1 #endif