From: Bruno Turcksin Date: Wed, 28 Feb 2018 02:00:39 +0000 (-0500) Subject: Add forgotten macro guard X-Git-Tag: v9.0.0-rc1~377^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F5927%2Fhead;p=dealii.git Add forgotten macro guard --- diff --git a/include/deal.II/lac/cuda_atomic.h b/include/deal.II/lac/cuda_atomic.h index e6b5569d01..911908f38f 100644 --- a/include/deal.II/lac/cuda_atomic.h +++ b/include/deal.II/lac/cuda_atomic.h @@ -18,6 +18,7 @@ #include +#ifdef DEAL_II_WITH_CUDA DEAL_II_NAMESPACE_OPEN @@ -115,3 +116,5 @@ namespace LinearAlgebra DEAL_II_NAMESPACE_CLOSE #endif + +#endif