1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/stdapis/boost/serialization/config.hpp Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -0,0 +1,79 @@
1.4 +#ifndef BOOST_SERIALIZATION_CONFIG_HPP
1.5 +#define BOOST_SERIALIZATION_CONFIG_HPP
1.6 +
1.7 +// MS compatible compilers support #pragma once
1.8 +#if defined(_MSC_VER) && (_MSC_VER >= 1020)
1.9 +# pragma once
1.10 +#endif
1.11 +
1.12 +// config.hpp ---------------------------------------------//
1.13 +
1.14 +// © Copyright Robert Ramey 2004
1.15 +// Use, modification, and distribution is subject to the Boost Software
1.16 +// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
1.17 +// http://www.boost.org/LICENSE_1_0.txt)
1.18 +
1.19 +// See library home page at http://www.boost.org/libs/serialization
1.20 +
1.21 +//----------------------------------------------------------------------------//
1.22 +
1.23 +// This header implements separate compilation features as described in
1.24 +// http://www.boost.org/more/separate_compilation.html
1.25 +/*
1.26 + * © Portions copyright (c) 2006-2007 Nokia Corporation. All rights reserved.
1.27 +*/
1.28 +#include <boost/config.hpp>
1.29 +#include <boost/detail/workaround.hpp>
1.30 +#include <boost/preprocessor/facilities/empty.hpp>
1.31 +
1.32 +// note: this version incorporates the related code into the the
1.33 +// the same library as BOOST_ARCHIVE. This could change some day in the
1.34 +// future
1.35 +
1.36 +#ifdef BOOST_HAS_DECLSPEC // defined in config system
1.37 +// we need to import/export our code only if the user has specifically
1.38 +// asked for it by defining either BOOST_ALL_DYN_LINK if they want all boost
1.39 +// libraries to be dynamically linked, or BOOST_SERIALIZATION_DYN_LINK
1.40 +// if they want just this one to be dynamically liked:
1.41 +#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SERIALIZATION_DYN_LINK)
1.42 +#define BOOST_DYN_LINK
1.43 +// export if this is our own source, otherwise import:
1.44 +#if defined(BOOST_SERIALIZATION_SOURCE)
1.45 + #if defined(BOOST_MSVC) || defined(BOOST_INTEL_WIN) || defined(__MWERKS__)
1.46 + #define BOOST_SERIALIZATION_DECL(T) __declspec(dllexport) T
1.47 + #else
1.48 + #define BOOST_SERIALIZATION_DECL(T) T __declspec(dllexport)
1.49 + #endif
1.50 + #pragma message( "BOOST_SERIALIZATION_DECL __declspec(dllexport)" )
1.51 +#endif // defined(BOOST_SERIALIZATION_SOURCE)
1.52 +#endif // defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SERIALIZATION_DYN_LINK)
1.53 +#endif // BOOST_HAS_DECLSPEC
1.54 +
1.55 +// if BOOST_SERIALIZATION_DECL isn't defined yet define it now:
1.56 +#ifndef BOOST_SERIALIZATION_DECL
1.57 + #define BOOST_SERIALIZATION_DECL(T) T
1.58 +#endif
1.59 +
1.60 +// enable automatic library variant selection ------------------------------//
1.61 +
1.62 +#if !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_SERIALIZATION_NO_LIB) \
1.63 +&& !defined(BOOST_SERIALIZATION_SOURCE) \
1.64 +&& !defined(BOOST_ARCHIVE_SOURCE) && !defined(BOOST_WARCHIVE_SOURCE)
1.65 +//
1.66 +// Set the name of our library, this will get undef'ed by auto_link.hpp
1.67 +// once it's done with it:
1.68 +//
1.69 +#define BOOST_LIB_NAME boost_serialization
1.70 +//
1.71 +// And include the header that does the work:
1.72 +//
1.73 +#ifndef __SYMBIAN32__
1.74 +//Enabling this reports error about STL_DEBUG version imcompatilibilty
1.75 +#include <boost/config/auto_link.hpp>
1.76 +#endif
1.77 +
1.78 +#endif // !defined(BOOST_SERIALIZATION_SOURCE) && !defined(BOOST_ARCHIVE_SOURCE)
1.79 +
1.80 +//----------------------------------------------------------------------------//
1.81 +
1.82 +#endif // BOOST_SERIALIZATION_CONFIG_HPP