Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/units/systems/si/pressure.hpp @ 133:4acb5d8d80b6 tip
Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author | Chris Cannam |
---|---|
date | Tue, 30 Jul 2019 12:25:44 +0100 |
parents | 2665513ce2d3 |
children |
rev | line source |
---|---|
Chris@16 | 1 // Boost.Units - A C++ library for zero-overhead dimensional analysis and |
Chris@16 | 2 // unit/quantity manipulation and conversion |
Chris@16 | 3 // |
Chris@16 | 4 // Copyright (C) 2003-2008 Matthias Christian Schabel |
Chris@16 | 5 // Copyright (C) 2008 Steven Watanabe |
Chris@16 | 6 // |
Chris@16 | 7 // Distributed under the Boost Software License, Version 1.0. (See |
Chris@16 | 8 // accompanying file LICENSE_1_0.txt or copy at |
Chris@16 | 9 // http://www.boost.org/LICENSE_1_0.txt) |
Chris@16 | 10 |
Chris@16 | 11 #ifndef BOOST_UNITS_SI_PRESSURE_HPP |
Chris@16 | 12 #define BOOST_UNITS_SI_PRESSURE_HPP |
Chris@16 | 13 |
Chris@16 | 14 #include <boost/units/systems/si/base.hpp> |
Chris@16 | 15 #include <boost/units/physical_dimensions/pressure.hpp> |
Chris@16 | 16 |
Chris@16 | 17 namespace boost { |
Chris@16 | 18 |
Chris@16 | 19 namespace units { |
Chris@16 | 20 |
Chris@16 | 21 namespace si { |
Chris@16 | 22 |
Chris@16 | 23 typedef unit<pressure_dimension,si::system> pressure; |
Chris@16 | 24 |
Chris@16 | 25 // windef.h #defines pascal on Metrowerks compilers |
Chris@16 | 26 #if defined(__MWERKS__) |
Chris@16 | 27 #if !__option(only_std_keywords) |
Chris@16 | 28 #define BOOST_UNITS_NO_PASCAL 1 |
Chris@16 | 29 #elif defined(pascal) |
Chris@16 | 30 #define BOOST_UNITS_NO_PASCAL 1 |
Chris@16 | 31 #endif |
Chris@16 | 32 #elif defined(pascal) |
Chris@16 | 33 #define BOOST_UNITS_NO_PASCAL 1 |
Chris@16 | 34 #elif BOOST_MSVC |
Chris@16 | 35 #define BOOST_UNITS_NO_PASCAL 1 |
Chris@16 | 36 #endif |
Chris@16 | 37 |
Chris@16 | 38 #ifndef BOOST_UNITS_NO_PASCAL |
Chris@16 | 39 BOOST_UNITS_STATIC_CONSTANT(pascal,pressure); |
Chris@16 | 40 #endif |
Chris@16 | 41 BOOST_UNITS_STATIC_CONSTANT(pascals,pressure); |
Chris@16 | 42 |
Chris@16 | 43 } // namespace si |
Chris@16 | 44 |
Chris@16 | 45 } // namespace units |
Chris@16 | 46 |
Chris@16 | 47 } // namespace boost |
Chris@16 | 48 |
Chris@16 | 49 #endif // BOOST_UNITS_SI_PRESSURE_HPP |