sl@0: #ifndef BOOST_SERIALIZATION_CONFIG_HPP sl@0: #define BOOST_SERIALIZATION_CONFIG_HPP sl@0: sl@0: // MS compatible compilers support #pragma once sl@0: #if defined(_MSC_VER) && (_MSC_VER >= 1020) sl@0: # pragma once sl@0: #endif sl@0: sl@0: // config.hpp ---------------------------------------------// sl@0: sl@0: // © Copyright Robert Ramey 2004 sl@0: // Use, modification, and distribution is subject to the Boost Software sl@0: // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at sl@0: // http://www.boost.org/LICENSE_1_0.txt) sl@0: sl@0: // See library home page at http://www.boost.org/libs/serialization sl@0: sl@0: //----------------------------------------------------------------------------// sl@0: sl@0: // This header implements separate compilation features as described in sl@0: // http://www.boost.org/more/separate_compilation.html sl@0: /* sl@0: * © Portions copyright (c) 2006-2007 Nokia Corporation. All rights reserved. sl@0: */ sl@0: #include sl@0: #include sl@0: #include sl@0: sl@0: // note: this version incorporates the related code into the the sl@0: // the same library as BOOST_ARCHIVE. This could change some day in the sl@0: // future sl@0: sl@0: #ifdef BOOST_HAS_DECLSPEC // defined in config system sl@0: // we need to import/export our code only if the user has specifically sl@0: // asked for it by defining either BOOST_ALL_DYN_LINK if they want all boost sl@0: // libraries to be dynamically linked, or BOOST_SERIALIZATION_DYN_LINK sl@0: // if they want just this one to be dynamically liked: sl@0: #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SERIALIZATION_DYN_LINK) sl@0: #define BOOST_DYN_LINK sl@0: // export if this is our own source, otherwise import: sl@0: #if defined(BOOST_SERIALIZATION_SOURCE) sl@0: #if defined(BOOST_MSVC) || defined(BOOST_INTEL_WIN) || defined(__MWERKS__) sl@0: #define BOOST_SERIALIZATION_DECL(T) __declspec(dllexport) T sl@0: #else sl@0: #define BOOST_SERIALIZATION_DECL(T) T __declspec(dllexport) sl@0: #endif sl@0: #pragma message( "BOOST_SERIALIZATION_DECL __declspec(dllexport)" ) sl@0: #endif // defined(BOOST_SERIALIZATION_SOURCE) sl@0: #endif // defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SERIALIZATION_DYN_LINK) sl@0: #endif // BOOST_HAS_DECLSPEC sl@0: sl@0: // if BOOST_SERIALIZATION_DECL isn't defined yet define it now: sl@0: #ifndef BOOST_SERIALIZATION_DECL sl@0: #define BOOST_SERIALIZATION_DECL(T) T sl@0: #endif sl@0: sl@0: // enable automatic library variant selection ------------------------------// sl@0: sl@0: #if !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_SERIALIZATION_NO_LIB) \ sl@0: && !defined(BOOST_SERIALIZATION_SOURCE) \ sl@0: && !defined(BOOST_ARCHIVE_SOURCE) && !defined(BOOST_WARCHIVE_SOURCE) sl@0: // sl@0: // Set the name of our library, this will get undef'ed by auto_link.hpp sl@0: // once it's done with it: sl@0: // sl@0: #define BOOST_LIB_NAME boost_serialization sl@0: // sl@0: // And include the header that does the work: sl@0: // sl@0: #ifndef __SYMBIAN32__ sl@0: //Enabling this reports error about STL_DEBUG version imcompatilibilty sl@0: #include sl@0: #endif sl@0: sl@0: #endif // !defined(BOOST_SERIALIZATION_SOURCE) && !defined(BOOST_ARCHIVE_SOURCE) sl@0: sl@0: //----------------------------------------------------------------------------// sl@0: sl@0: #endif // BOOST_SERIALIZATION_CONFIG_HPP