epoc32/include/stdapis/boost/archive/detail/decl.hpp
branchSymbian2
changeset 2 2fe1408b6811
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/stdapis/boost/archive/detail/decl.hpp	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +1,79 @@
     1.4 +#ifndef BOOST_ARCHIVE_DETAIL_DECL_HPP
     1.5 +#define BOOST_ARCHIVE_DETAIL_DECL_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 +/////////1/////////2///////// 3/////////4/////////5/////////6/////////7/////////8
    1.13 +//  decl.hpp
    1.14 +//
    1.15 +//  © Copyright Robert Ramey 2004
    1.16 +//  Use, modification, and distribution is subject to the Boost Software
    1.17 +//  License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
    1.18 +//  http://www.boost.org/LICENSE_1_0.txt)
    1.19 +
    1.20 +//  See library home page at http://www.boost.org/libs/serialization
    1.21 +
    1.22 +//----------------------------------------------------------------------------// 
    1.23 +
    1.24 +// This header implements separate compilation features as described in
    1.25 +// http://www.boost.org/more/separate_compilation.html
    1.26 +
    1.27 +#include <boost/config.hpp>
    1.28 +#include <boost/preprocessor/facilities/empty.hpp>
    1.29 +
    1.30 +#if defined(BOOST_HAS_DECLSPEC)
    1.31 +    #if (defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SERIALIZATION_DYN_LINK))
    1.32 +        #if defined(BOOST_ARCHIVE_SOURCE)
    1.33 +            #if defined(__BORLANDC__)
    1.34 +            #define BOOST_ARCHIVE_DECL(T) T __export
    1.35 +            #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T)  T __export
    1.36 +            #else
    1.37 +            #define BOOST_ARCHIVE_DECL(T) __declspec(dllexport) T
    1.38 +            #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T)  __declspec(dllexport) T
    1.39 +            #endif
    1.40 +        #else
    1.41 +            #if defined(__BORLANDC__)
    1.42 +            #define BOOST_ARCHIVE_DECL(T) T __import
    1.43 +            #else
    1.44 +            #define BOOST_ARCHIVE_DECL(T) __declspec(dllimport) T
    1.45 +            #endif
    1.46 +        #endif
    1.47 +        #if defined(BOOST_WARCHIVE_SOURCE)
    1.48 +            #if defined(__BORLANDC__)
    1.49 +            #define BOOST_WARCHIVE_DECL(T) T __export
    1.50 +            #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) T __export
    1.51 +            #else
    1.52 +            #define BOOST_WARCHIVE_DECL(T) __declspec(dllexport) T
    1.53 +            #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) __declspec(dllexport) T
    1.54 +            #endif
    1.55 +        #else
    1.56 +            #if defined(__BORLANDC__)
    1.57 +            #define BOOST_WARCHIVE_DECL(T) T __import
    1.58 +            #else
    1.59 +            #define BOOST_WARCHIVE_DECL(T) __declspec(dllimport) T
    1.60 +            #endif
    1.61 +        #endif
    1.62 +        #if !defined(BOOST_WARCHIVE_SOURCE) && !defined(BOOST_ARCHIVE_SOURCE)
    1.63 +            #if defined(__BORLANDC__)
    1.64 +            #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) T __import
    1.65 +            #else
    1.66 +            #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) __declspec(dllimport) T
    1.67 +            #endif
    1.68 +        #endif
    1.69 +    #endif
    1.70 +#endif // BOOST_HAS_DECLSPEC
    1.71 +
    1.72 +#if ! defined(BOOST_ARCHIVE_DECL)
    1.73 +    #define BOOST_ARCHIVE_DECL(T) T
    1.74 +#endif
    1.75 +#if ! defined(BOOST_WARCHIVE_DECL)
    1.76 +    #define BOOST_WARCHIVE_DECL(T) T
    1.77 +#endif
    1.78 +#if ! defined(BOOST_ARCHIVE_OR_WARCHIVE_DECL)
    1.79 +    #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) T
    1.80 +#endif
    1.81 +
    1.82 +#endif // BOOST_ARCHIVE_DETAIL_DECL_HPP