From: Bruno Turcksin Date: Mon, 18 Mar 2019 18:40:14 +0000 (-0400) Subject: Add missing #ifdef DEAL_II_WITH_THREADS around tbb calls X-Git-Tag: v9.1.0-rc1~281^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7825%2Fhead;p=dealii.git Add missing #ifdef DEAL_II_WITH_THREADS around tbb calls --- diff --git a/include/deal.II/base/parallel.h b/include/deal.II/base/parallel.h index 8b9d5cc491..3fd86d2df1 100644 --- a/include/deal.II/base/parallel.h +++ b/include/deal.II/base/parallel.h @@ -147,6 +147,7 @@ namespace parallel +#ifdef DEAL_II_WITH_THREADS /** * Encapsulate tbb::parallel_for. */ @@ -179,6 +180,7 @@ namespace parallel functor, *partitioner); } +#endif } // namespace internal /**