Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
opm
core
utility
have_boost_redef.hpp
Go to the documentation of this file.
1
/*===========================================================================
2
//
3
// File: have_boost_redef.hpp
4
//
5
// Created: 2012-07-12 11:02:22+0200
6
//
7
//==========================================================================*/
8
9
10
/*
11
Copyright 2012 SINTEF ICT, Applied Mathematics.
12
Copyright 2012 Statoil ASA.
13
14
This file is part of the Open Porous Media Project (OPM).
15
16
OPM is free software: you can redistribute it and/or modify
17
it under the terms of the GNU General Public License as published by
18
the Free Software Foundation, either version 3 of the License, or
19
(at your option) any later version.
20
21
OPM is distributed in the hope that it will be useful,
22
but WITHOUT ANY WARRANTY; without even the implied warranty of
23
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24
GNU General Public License for more details.
25
26
You should have received a copy of the GNU General Public License
27
along with OPM. If not, see <http://www.gnu.org/licenses/>.
28
*/
29
30
// Note: This file should be #include<>d after <config.h> in software
31
// that uses the ISTL. This is more or less a hack to work around
32
// Autoconfs that do not correctly process dune-istl's `ENABLE_BOOST'
33
// feature. We will happily remove this file if a better solution
34
// presents.
35
36
#ifndef OPM_HAVE_BOOST_REDEF_HPP_HEADER
37
#define OPM_HAVE_BOOST_REDEF_HPP_HEADER
38
39
#if defined(HAVE_BOOST)
40
#undef HAVE_BOOST
41
#define HAVE_BOOST OPM_HAVE_BOOST
42
#endif
43
44
#endif
/* OPM_HAVE_BOOST_REDEF_HPP_HEADER */