os/ossrv/ossrv_pub/boost_apis/boost/test/detail/config.hpp
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/ossrv_pub/boost_apis/boost/test/detail/config.hpp	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,146 @@
     1.4 +//  (C) Copyright Gennadiy Rozental 2001-2005.
     1.5 +//  Distributed under the Boost Software License, Version 1.0.
     1.6 +//  (See accompanying file LICENSE_1_0.txt or copy at 
     1.7 +//  http://www.boost.org/LICENSE_1_0.txt)
     1.8 +
     1.9 +//  See http://www.boost.org/libs/test for the library home page.
    1.10 +//
    1.11 +//  File        : $RCSfile: config.hpp,v $
    1.12 +//
    1.13 +//  Version     : $Revision: 1.5 $
    1.14 +//
    1.15 +//  Description : as a central place for global configuration switches
    1.16 +// ***************************************************************************
    1.17 +
    1.18 +#ifndef BOOST_TEST_CONFIG_HPP_071894GER
    1.19 +#define BOOST_TEST_CONFIG_HPP_071894GER
    1.20 +
    1.21 +// Boost
    1.22 +#include <boost/config.hpp> // compilers workarounds
    1.23 +#include <boost/detail/workaround.hpp>
    1.24 +
    1.25 +#if BOOST_WORKAROUND(__GNUC__, < 3) && !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION)
    1.26 +#  define BOOST_CLASSIC_IOSTREAMS
    1.27 +#else
    1.28 +#  define BOOST_STANDARD_IOSTREAMS
    1.29 +#endif
    1.30 +
    1.31 +//____________________________________________________________________________//
    1.32 +
    1.33 +#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x570)) || \
    1.34 +    BOOST_WORKAROUND(__IBMCPP__, BOOST_TESTED_AT(600))     || \
    1.35 +    (defined __sgi && BOOST_WORKAROUND(_COMPILER_VERSION, BOOST_TESTED_AT(730)))
    1.36 +#  define BOOST_TEST_SHIFTED_LINE
    1.37 +#endif
    1.38 +
    1.39 +//____________________________________________________________________________//
    1.40 +
    1.41 +#if defined(BOOST_MSVC) || (defined(__BORLANDC__) && !defined(BOOST_DISABLE_WIN32))
    1.42 +#  define BOOST_TEST_CALL_DECL __cdecl
    1.43 +#else
    1.44 +#  define BOOST_TEST_CALL_DECL /**/
    1.45 +#endif
    1.46 +
    1.47 +//____________________________________________________________________________//
    1.48 +
    1.49 +#if defined(BOOST_HAS_SIGACTION)
    1.50 +#  define BOOST_TEST_SUPPORT_TIMEOUT
    1.51 +#endif
    1.52 +
    1.53 +//____________________________________________________________________________//
    1.54 +
    1.55 +#if BOOST_WORKAROUND(__BORLANDC__, <= 0x570)           || \
    1.56 +    BOOST_WORKAROUND( __COMO__, <= 0x433 )             || \
    1.57 +    BOOST_WORKAROUND( __INTEL_COMPILER, <= 800 )       || \
    1.58 +    BOOST_WORKAROUND(__GNUC__, < 3)                    || \
    1.59 +    defined(__sgi) && _COMPILER_VERSION <= 730         || \
    1.60 +    BOOST_WORKAROUND(__IBMCPP__, BOOST_TESTED_AT(600)) || \
    1.61 +    defined(__DECCXX) || \
    1.62 +    defined(__DMC__)
    1.63 +#  define BOOST_TEST_NO_PROTECTED_USING
    1.64 +#endif
    1.65 +
    1.66 +//____________________________________________________________________________//
    1.67 +
    1.68 +#ifdef __GNUC__
    1.69 +#define BOOST_TEST_PROTECTED_VIRTUAL virtual
    1.70 +#else
    1.71 +#define BOOST_TEST_PROTECTED_VIRTUAL
    1.72 +#endif
    1.73 +
    1.74 +//____________________________________________________________________________//
    1.75 +
    1.76 +#if defined(BOOST_ALL_DYN_LINK) && !defined(BOOST_TEST_DYN_LINK)
    1.77 +#  define BOOST_TEST_DYN_LINK
    1.78 +#endif
    1.79 +
    1.80 +#if defined(BOOST_TEST_INCLUDED)
    1.81 +#  undef BOOST_TEST_DYN_LINK
    1.82 +#endif
    1.83 +
    1.84 +#if defined(BOOST_TEST_DYN_LINK)
    1.85 +#  define BOOST_TEST_ALTERNATIVE_INIT_API
    1.86 +
    1.87 +#  if defined(BOOST_HAS_DECLSPEC) && defined(BOOST_TEST_DYN_LINK)
    1.88 +#    ifdef BOOST_TEST_SOURCE
    1.89 +#      define BOOST_TEST_DECL __declspec(dllexport)
    1.90 +#    else
    1.91 +#      define BOOST_TEST_DECL __declspec(dllimport)
    1.92 +#    endif  // BOOST_TEST_SOURCE
    1.93 +#  endif  // BOOST_HAS_DECLSPEC
    1.94 +#endif  // BOOST_TEST_DYN_LINK
    1.95 +
    1.96 +
    1.97 +#ifndef BOOST_TEST_DECL
    1.98 +#  define BOOST_TEST_DECL
    1.99 +#endif
   1.100 +
   1.101 +#if !defined(BOOST_TEST_MAIN) && defined(BOOST_AUTO_TEST_MAIN)
   1.102 +#define BOOST_TEST_MAIN BOOST_AUTO_TEST_MAIN
   1.103 +#endif
   1.104 +
   1.105 +#if !defined(BOOST_TEST_MAIN) && defined(BOOST_TEST_MODULE)
   1.106 +#define BOOST_TEST_MAIN BOOST_TEST_MODULE
   1.107 +#endif
   1.108 +
   1.109 +// ***************************************************************************
   1.110 +//  Revision History :
   1.111 +//  
   1.112 +//  $Log: config.hpp,v $
   1.113 +//  Revision 1.5  2006/02/06 10:03:54  rogeeff
   1.114 +//  BOOST_TEST_MODULE - master test suite name
   1.115 +//
   1.116 +//  Revision 1.4  2006/01/15 06:17:18  rogeeff
   1.117 +//  make config working properly for non-windows dll
   1.118 +//
   1.119 +//  Revision 1.3  2005/12/14 04:56:31  rogeeff
   1.120 +//  dll support introduced
   1.121 +//
   1.122 +//  Revision 1.2  2005/07/13 21:49:46  danieljames
   1.123 +//  Boost.Test workarounds for Digital Mars bugs.
   1.124 +//
   1.125 +//  Revision 1.1  2005/02/20 08:27:06  rogeeff
   1.126 +//  This a major update for Boost.Test framework. See release docs for complete list of fixes/updates
   1.127 +//
   1.128 +//  Revision 1.28  2005/02/01 06:40:07  rogeeff
   1.129 +//  copyright update
   1.130 +//  old log entries removed
   1.131 +//  minor stilistic changes
   1.132 +//  depricated tools removed
   1.133 +//
   1.134 +//  Revision 1.27  2005/01/31 07:50:06  rogeeff
   1.135 +//  cdecl portability fix
   1.136 +//
   1.137 +//  Revision 1.26  2005/01/30 01:48:24  rogeeff
   1.138 +//  BOOST_TEST_STRINGIZE introduced
   1.139 +//  counter type renamed
   1.140 +//
   1.141 +//  Revision 1.25  2005/01/22 19:22:12  rogeeff
   1.142 +//  implementation moved into headers section to eliminate dependency of included/minimal component on src directory
   1.143 +//
   1.144 +//  Revision 1.24  2005/01/21 07:33:20  rogeeff
   1.145 +//  BOOST_TEST_SUPPORT_TIMEOUT flag introduced to be used by used to switch code by timeout support
   1.146 +//
   1.147 +// ***************************************************************************
   1.148 +
   1.149 +#endif // BOOST_TEST_CONFIG_HPP_071894GER