diff options
| author | Christoph Berg <myon@debian.org> | 2018-12-19 22:58:32 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2018-12-19 22:58:32 +0100 |
| commit | e0737c56c1e384e05064a0c6e1ac46979371041b (patch) | |
| tree | a0123d694a2d36c43dabdf0a3907392fce11d457 /boost/libs/system | |
| parent | b4aebf2d137b892f53503b13785ecae900062ff7 (diff) | |
New upstream version 2.0.0+repackupstream/2.0.0+repack
Diffstat (limited to 'boost/libs/system')
| -rw-r--r-- | boost/libs/system/build/Jamfile.v2 | 25 | ||||
| -rw-r--r-- | boost/libs/system/src/error_code.cpp | 20 |
2 files changed, 45 insertions, 0 deletions
diff --git a/boost/libs/system/build/Jamfile.v2 b/boost/libs/system/build/Jamfile.v2 new file mode 100644 index 00000000..f0c6f16b --- /dev/null +++ b/boost/libs/system/build/Jamfile.v2 @@ -0,0 +1,25 @@ +# Boost System Library Build Jamfile + +# (C) Copyright Beman Dawes 2002, 2006 + +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or www.boost.org/LICENSE_1_0.txt) + +# See library home page at http://www.boost.org/libs/system + +project boost/system + : source-location ../src + : usage-requirements # pass these requirement to dependents (i.e. users) + <link>shared:<define>BOOST_SYSTEM_DYN_LINK=1 + <link>static:<define>BOOST_SYSTEM_STATIC_LINK=1 + ; + +SOURCES = error_code ; + +lib boost_system + : $(SOURCES).cpp + : <link>shared:<define>BOOST_SYSTEM_DYN_LINK=1 + <link>static:<define>BOOST_SYSTEM_STATIC_LINK=1 + ; + +boost-install boost_system ;
\ No newline at end of file diff --git a/boost/libs/system/src/error_code.cpp b/boost/libs/system/src/error_code.cpp new file mode 100644 index 00000000..aa628ab3 --- /dev/null +++ b/boost/libs/system/src/error_code.cpp @@ -0,0 +1,20 @@ +// error_code support implementation file ----------------------------------// + +// Copyright Beman Dawes 2002, 2006 + +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +// See library home page at http://www.boost.org/libs/system + +//----------------------------------------------------------------------------// + +// define BOOST_SYSTEM_SOURCE so that <boost/system/config.hpp> knows +// the library is being built (possibly exporting rather than importing code) +#define BOOST_SYSTEM_SOURCE + +#include <boost/system/error_code.hpp> + +#ifndef BOOST_ERROR_CODE_HEADER_ONLY +#include <boost/system/detail/error_code.ipp> +#endif |
