From ebad10f2a14c3e06076c6487cd852d21543f6eee Mon Sep 17 00:00:00 2001 From: degasus Date: Tue, 26 May 2015 19:43:50 +0200 Subject: [PATCH] Common: Fix IsTriviallyCopyable macro for GCC 5 Based on quarthex's patch in PR #2440 --- Source/Core/Common/ChunkFile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Common/ChunkFile.h b/Source/Core/Common/ChunkFile.h index 8b64244a9c..cd02192c86 100644 --- a/Source/Core/Common/ChunkFile.h +++ b/Source/Core/Common/ChunkFile.h @@ -29,7 +29,7 @@ #include "Common/Flag.h" // ewww -#if _LIBCPP_VERSION +#if _LIBCPP_VERSION || __GNUC__ >= 5 #define IsTriviallyCopyable(T) std::is_trivially_copyable::type>::value #elif __GNUC__ #define IsTriviallyCopyable(T) std::has_trivial_copy_constructor::value