From b3ca4bccc4fa6b7f5d637bdecb4fac6ca9649f3c Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Fri, 1 Feb 2013 12:36:09 -0800 Subject: Fix build with clang against libstdc++ 4.6 --- src/common/const_array.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common/const_array.hpp') diff --git a/src/common/const_array.hpp b/src/common/const_array.hpp index eb0da58..db8416d 100644 --- a/src/common/const_array.hpp +++ b/src/common/const_array.hpp @@ -28,7 +28,7 @@ #include #include -#ifdef ANNOYING_GCC46_WORKAROUNDS +#ifdef WORKAROUND_GCC46_COMPILER // constexpr is buggy with templates in this version # define constexpr /* nothing */ #endif @@ -161,7 +161,7 @@ public: : const_array(a) {} }; -#ifdef ANNOYING_GCC46_WORKAROUNDS +#ifdef WORKAROUND_GCC46_COMPILER # undef constexpr #endif -- cgit v1.2.3-70-g09d2