1 // Boost.Units - A C++ library for zero-overhead dimensional analysis and
2 // unit/quantity manipulation and conversion
4 // Copyright (C) 2003-2008 Matthias Christian Schabel
5 // Copyright (C) 2008 Steven Watanabe
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)
11 #ifndef BOOST_UNITS_SI_PRESSURE_HPP
12 #define BOOST_UNITS_SI_PRESSURE_HPP
14 #include <boost/units/systems/si/base.hpp>
15 #include <boost/units/physical_dimensions/pressure.hpp>
23 typedef unit<pressure_dimension,si::system> pressure;
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
30 #define BOOST_UNITS_NO_PASCAL 1
33 #define BOOST_UNITS_NO_PASCAL 1
35 #define BOOST_UNITS_NO_PASCAL 1
38 #ifndef BOOST_UNITS_NO_PASCAL
39 BOOST_UNITS_STATIC_CONSTANT(pascal,pressure);
41 BOOST_UNITS_STATIC_CONSTANT(pascals,pressure);
49 #endif // BOOST_UNITS_SI_PRESSURE_HPP