diff --git a/Installation/include/CGAL/config.h b/Installation/include/CGAL/config.h index 24a30f8a756..acb965c1258 100644 --- a/Installation/include/CGAL/config.h +++ b/Installation/include/CGAL/config.h @@ -555,7 +555,7 @@ using std::max; #endif // Macro to specify [[no_unique_address]] if supported -#if __has_cpp_attribute(no_unique_address) +#if CGAL_CXX11 && __has_cpp_attribute(no_unique_address) # define CGAL_NO_UNIQUE_ADDRESS [[no_unique_address]] #else # define CGAL_NO_UNIQUE_ADDRESS