]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/units/include/boost/units/systems/si/pressure.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / units / include / boost / units / systems / si / pressure.hpp
CommitLineData
7c673cae
FG
1// Boost.Units - A C++ library for zero-overhead dimensional analysis and
2// unit/quantity manipulation and conversion
3//
4// Copyright (C) 2003-2008 Matthias Christian Schabel
5// Copyright (C) 2008 Steven Watanabe
6//
7// Distributed under the Boost Software License, Version 1.0. (See
8// accompanying file LICENSE_1_0.txt or copy at
9// http://www.boost.org/LICENSE_1_0.txt)
10
11#ifndef BOOST_UNITS_SI_PRESSURE_HPP
12#define BOOST_UNITS_SI_PRESSURE_HPP
13
14#include <boost/units/systems/si/base.hpp>
15#include <boost/units/physical_dimensions/pressure.hpp>
16
17namespace boost {
18
19namespace units {
20
21namespace si {
22
23typedef unit<pressure_dimension,si::system> pressure;
24
25// windef.h #defines pascal on Metrowerks compilers
26#if defined(__MWERKS__)
27 #if !__option(only_std_keywords)
28 #define BOOST_UNITS_NO_PASCAL 1
29 #elif defined(pascal)
30 #define BOOST_UNITS_NO_PASCAL 1
31 #endif
32#elif defined(pascal)
33 #define BOOST_UNITS_NO_PASCAL 1
34#elif BOOST_MSVC
35 #define BOOST_UNITS_NO_PASCAL 1
36#endif
37
38#ifndef BOOST_UNITS_NO_PASCAL
39BOOST_UNITS_STATIC_CONSTANT(pascal,pressure);
40#endif
41BOOST_UNITS_STATIC_CONSTANT(pascals,pressure);
42
43} // namespace si
44
45} // namespace units
46
47} // namespace boost
48
49#endif // BOOST_UNITS_SI_PRESSURE_HPP