os/ossrv/ossrv_pub/boost_apis/boost/config/compiler/digitalmars.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/config/compiler/digitalmars.hpp	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,49 @@
     1.4 +//  Copyright (C) Christof Meerwald 2003
     1.5 +//  Copyright (C) Dan Watkins 2003
     1.6 +//
     1.7 +//  Use, modification and distribution are subject to the 
     1.8 +//  Boost Software License, Version 1.0. (See accompanying file 
     1.9 +//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
    1.10 +
    1.11 +//  Digital Mars C++ compiler setup:
    1.12 +#define BOOST_COMPILER __DMC_VERSION_STRING__
    1.13 +
    1.14 +#define BOOST_HAS_LONG_LONG
    1.15 +#define BOOST_HAS_PRAGMA_ONCE
    1.16 +
    1.17 +#if (__DMC__ <= 0x833)
    1.18 +#define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
    1.19 +#define BOOST_NO_TEMPLATE_TEMPLATES
    1.20 +#define BOOST_NEEDS_TOKEN_PASTING_OP_FOR_TOKENS_JUXTAPOSING
    1.21 +#define BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS
    1.22 +#define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
    1.23 +#endif
    1.24 +#if (__DMC__ <= 0x840) || !defined(BOOST_STRICT_CONFIG)
    1.25 +#define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
    1.26 +#define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
    1.27 +#define BOOST_NO_OPERATORS_IN_NAMESPACE
    1.28 +#define BOOST_NO_UNREACHABLE_RETURN_DETECTION
    1.29 +#define BOOST_NO_SFINAE
    1.30 +#define BOOST_NO_USING_TEMPLATE
    1.31 +#define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
    1.32 +#endif
    1.33 +
    1.34 +//
    1.35 +// has macros:
    1.36 +#if (__DMC__ >= 0x840)
    1.37 +#define BOOST_HAS_DIRENT_H
    1.38 +#define BOOST_HAS_STDINT_H
    1.39 +#define BOOST_HAS_WINTHREADS
    1.40 +#endif
    1.41 +
    1.42 +
    1.43 +// check for exception handling support:
    1.44 +#ifndef _CPPUNWIND
    1.45 +#  define BOOST_NO_EXCEPTIONS
    1.46 +#endif
    1.47 +
    1.48 +#if (__DMC__ < 0x840)
    1.49 +#  if defined(BOOST_ASSERT_CONFIG)
    1.50 +#     error "Unknown compiler version - please run the configure tests and report the results"
    1.51 +#  endif
    1.52 +#endif