diff --git a/dune/perftool/common/vectorclass.hh b/dune/perftool/common/vectorclass.hh
index 8d31883eb80faebe8101f2e045d0da31b029642b..bac161b2d684185d9a99da8eb5a62a6e78513297 100644
--- a/dune/perftool/common/vectorclass.hh
+++ b/dune/perftool/common/vectorclass.hh
@@ -590,7 +590,7 @@ static inline Vec4d blend4d(Vec4d const & a, Vec4d const & b) {
   return r;
 }
 
-#if MAC_VECTOR_SIZE >= 512
+#if MAX_VECTOR_SIZE >= 512
 
 struct Vec8d
 {