summaryrefslogtreecommitdiff
path: root/src/common/const_array.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-02-01 12:36:09 -0800
committerBen Longbons <b.r.longbons@gmail.com>2013-02-01 12:36:50 -0800
commitb3ca4bccc4fa6b7f5d637bdecb4fac6ca9649f3c (patch)
treef0b37780a744aa4f17c464e354dcd27612e7931e /src/common/const_array.hpp
parente3cb398a2baa95206a2c67e40e3b67d42c9a912e (diff)
downloadtmwa-b3ca4bccc4fa6b7f5d637bdecb4fac6ca9649f3c.tar.gz
tmwa-b3ca4bccc4fa6b7f5d637bdecb4fac6ca9649f3c.tar.bz2
tmwa-b3ca4bccc4fa6b7f5d637bdecb4fac6ca9649f3c.tar.xz
tmwa-b3ca4bccc4fa6b7f5d637bdecb4fac6ca9649f3c.zip
Fix build with clang against libstdc++ 4.6
Diffstat (limited to 'src/common/const_array.hpp')
-rw-r--r--src/common/const_array.hpp4
1 files changed, 2 insertions, 2 deletions
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 <string>
#include <vector>
-#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<char>(a)
{}
};
-#ifdef ANNOYING_GCC46_WORKAROUNDS
+#ifdef WORKAROUND_GCC46_COMPILER
# undef constexpr
#endif