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=802d0df494b5b4d1fa544faec457369e0bc6a52b;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