Statistics
| Revision:

root / tmp / org.txm.statsengine.r.core.win32 / res / win32 / library / BH / include / boost / archive / detail / decl.hpp @ 2486

History | View | Annotate | Download (1.9 kB)

1
#ifndef BOOST_ARCHIVE_DETAIL_DECL_HPP
2
#define BOOST_ARCHIVE_DETAIL_DECL_HPP 
3

    
4
// MS compatible compilers support #pragma once
5
#if defined(_MSC_VER)
6
# pragma once
7
#endif 
8

    
9
/////////1/////////2///////// 3/////////4/////////5/////////6/////////7/////////8
10
//  decl.hpp
11
//
12
//  (c) Copyright Robert Ramey 2004
13
//  Use, modification, and distribution is subject to the Boost Software
14
//  License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
15
//  http://www.boost.org/LICENSE_1_0.txt)
16

    
17
//  See library home page at http://www.boost.org/libs/serialization
18

    
19
//----------------------------------------------------------------------------// 
20

    
21
// This header implements separate compilation features as described in
22
// http://www.boost.org/more/separate_compilation.html
23

    
24
#include <boost/config.hpp>
25

    
26
#if (defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SERIALIZATION_DYN_LINK))
27
    #if defined(BOOST_ARCHIVE_SOURCE)
28
        #define BOOST_ARCHIVE_DECL BOOST_SYMBOL_EXPORT
29
    #else
30
        #define BOOST_ARCHIVE_DECL BOOST_SYMBOL_IMPORT
31
    #endif
32
    #if defined(BOOST_WARCHIVE_SOURCE)
33
        #define BOOST_WARCHIVE_DECL BOOST_SYMBOL_EXPORT
34
    #else
35
        #define BOOST_WARCHIVE_DECL BOOST_SYMBOL_IMPORT
36
    #endif
37
    #if !defined(BOOST_WARCHIVE_SOURCE) && !defined(BOOST_ARCHIVE_SOURCE)
38
        #define BOOST_ARCHIVE_OR_WARCHIVE_DECL BOOST_SYMBOL_IMPORT
39
    #endif
40

    
41
    #if defined(BOOST_WARCHIVE_SOURCE) || defined(BOOST_ARCHIVE_SOURCE)
42
        #define BOOST_ARCHIVE_OR_WARCHIVE_DECL BOOST_SYMBOL_EXPORT
43
    #else
44
        #define BOOST_ARCHIVE_OR_WARCHIVE_DECL BOOST_SYMBOL_IMPORT
45
    #endif
46

    
47
#endif
48

    
49
#if ! defined(BOOST_ARCHIVE_DECL)
50
    #define BOOST_ARCHIVE_DECL
51
#endif
52
#if ! defined(BOOST_WARCHIVE_DECL)
53
    #define BOOST_WARCHIVE_DECL
54
#endif
55
#if ! defined(BOOST_ARCHIVE_OR_WARCHIVE_DECL)
56
    #define BOOST_ARCHIVE_OR_WARCHIVE_DECL
57
#endif
58

    
59
#endif // BOOST_ARCHIVE_DETAIL_DECL_HPP