From 5c19eacd0b0069a70e4dab9939708bd05c965160 Mon Sep 17 00:00:00 2001 From: Tom Poole Date: Tue, 14 May 2019 10:27:28 +0100 Subject: [PATCH] Fixed compatibility with g++ 4.9 and c++14 --- 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 b1c9752335..cc9ad8237d 100644 --- a/modules/juce_core/system/juce_CompilerSupport.h +++ b/modules/juce_core/system/juce_CompilerSupport.h @@ -50,7 +50,7 @@ #endif #endif - #define JUCE_CXX14_IS_AVAILABLE (__cplusplus >= 201402L) + #define JUCE_CXX14_IS_AVAILABLE ((__cplusplus >= 201402L) || ((__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && (__cplusplus >= 201300L))) #define JUCE_CXX17_IS_AVAILABLE (__cplusplus >= 201703L) #endif