dune-common 2.12-git
Loading...
Searching...
No Matches
vc.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
2// SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception
3#ifndef DUNE_COMMON_VC_HH
4#define DUNE_COMMON_VC_HH
5
6#warning This header is deprecated, include <Vc/Vc> instead.
7
17#if HAVE_VC
18
19// include Vc's macro definitions
20#include <Vc/global.h>
21
22// undefine the macro that signals C++17 support, if set
23#ifdef Vc_CXX17
24#undef Vc_CXX17
25#endif
26
27// include the rest of Vc
28#include <Vc/Vc>
29
30#endif // HAVE_VC
31
32#endif // DUNE_COMMON_VC_HH