author | William Roberts <williamr@symbian.org> |
Wed, 31 Mar 2010 12:27:01 +0100 | |
branch | Symbian2 |
changeset 3 | e1b950c65cb4 |
permissions | -rw-r--r-- |
williamr@2 | 1 |
#ifndef BOOST_ARCHIVE_DETAIL_AUTO_LINK_ARCHIVE_HPP |
williamr@2 | 2 |
#define BOOST_ARCHIVE_DETAIL_AUTO_LINK_ARCHIVE_HPP |
williamr@2 | 3 |
|
williamr@2 | 4 |
// MS compatible compilers support #pragma once |
williamr@2 | 5 |
#if defined(_MSC_VER) && (_MSC_VER >= 1020) |
williamr@2 | 6 |
# pragma once |
williamr@2 | 7 |
#endif |
williamr@2 | 8 |
|
williamr@2 | 9 |
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 |
williamr@2 | 10 |
// auto_link_archive.hpp |
williamr@2 | 11 |
// |
williamr@2 | 12 |
// © Copyright Robert Ramey 2004 |
williamr@2 | 13 |
// Use, modification, and distribution is subject to the Boost Software |
williamr@2 | 14 |
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at |
williamr@2 | 15 |
// http://www.boost.org/LICENSE_1_0.txt) |
williamr@2 | 16 |
|
williamr@2 | 17 |
// See library home page at http://www.boost.org/libs/serialization |
williamr@2 | 18 |
|
williamr@2 | 19 |
//----------------------------------------------------------------------------// |
williamr@2 | 20 |
|
williamr@2 | 21 |
// This header implements separate compilation features as described in |
williamr@2 | 22 |
// http://www.boost.org/more/separate_compilation.html |
williamr@2 | 23 |
|
williamr@2 | 24 |
// enable automatic library variant selection ------------------------------// |
williamr@2 | 25 |
/* |
williamr@2 | 26 |
* © Portions copyright (c) 2006-2007 Nokia Corporation. All rights reserved. |
williamr@2 | 27 |
*/ |
williamr@2 | 28 |
#include <boost/archive/detail/decl.hpp> |
williamr@2 | 29 |
|
williamr@2 | 30 |
#if !defined(BOOST_ARCHIVE_SOURCE) \ |
williamr@2 | 31 |
&& !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_SERIALIZATION_NO_LIB) |
williamr@2 | 32 |
|
williamr@2 | 33 |
// Set the name of our library, this will get undef'ed by auto_link.hpp |
williamr@2 | 34 |
// once it's done with it: |
williamr@2 | 35 |
// |
williamr@2 | 36 |
#define BOOST_LIB_NAME boost_serialization |
williamr@2 | 37 |
// |
williamr@2 | 38 |
// If we're importing code from a dll, then tell auto_link.hpp about it: |
williamr@2 | 39 |
// |
williamr@2 | 40 |
#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SERIALIZATION_DYN_LINK) |
williamr@2 | 41 |
# define BOOST_DYN_LINK |
williamr@2 | 42 |
#endif |
williamr@2 | 43 |
// |
williamr@2 | 44 |
// And include the header that does the work: |
williamr@2 | 45 |
// |
williamr@2 | 46 |
#ifndef __SYMBIAN32__ |
williamr@2 | 47 |
#include <boost/config/auto_link.hpp> |
williamr@2 | 48 |
#endif // auto-linking disabled |
williamr@2 | 49 |
#endif |
williamr@2 | 50 |
|
williamr@2 | 51 |
#endif // ARCHIVE_DETAIL_AUTO_LINK_ARCHIVE_HPP |