sl@0: // Copyright (C) Christof Meerwald 2003 sl@0: // Copyright (C) Dan Watkins 2003 sl@0: // sl@0: // Use, modification and distribution are subject to the sl@0: // Boost Software License, Version 1.0. (See accompanying file sl@0: // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) sl@0: sl@0: // Digital Mars C++ compiler setup: sl@0: #define BOOST_COMPILER __DMC_VERSION_STRING__ sl@0: sl@0: #define BOOST_HAS_LONG_LONG sl@0: #define BOOST_HAS_PRAGMA_ONCE sl@0: sl@0: #if (__DMC__ <= 0x833) sl@0: #define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL sl@0: #define BOOST_NO_TEMPLATE_TEMPLATES sl@0: #define BOOST_NEEDS_TOKEN_PASTING_OP_FOR_TOKENS_JUXTAPOSING sl@0: #define BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS sl@0: #define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS sl@0: #endif sl@0: #if (__DMC__ <= 0x840) || !defined(BOOST_STRICT_CONFIG) sl@0: #define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS sl@0: #define BOOST_NO_MEMBER_TEMPLATE_FRIENDS sl@0: #define BOOST_NO_OPERATORS_IN_NAMESPACE sl@0: #define BOOST_NO_UNREACHABLE_RETURN_DETECTION sl@0: #define BOOST_NO_SFINAE sl@0: #define BOOST_NO_USING_TEMPLATE sl@0: #define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL sl@0: #endif sl@0: sl@0: // sl@0: // has macros: sl@0: #if (__DMC__ >= 0x840) sl@0: #define BOOST_HAS_DIRENT_H sl@0: #define BOOST_HAS_STDINT_H sl@0: #define BOOST_HAS_WINTHREADS sl@0: #endif sl@0: sl@0: sl@0: // check for exception handling support: sl@0: #ifndef _CPPUNWIND sl@0: # define BOOST_NO_EXCEPTIONS sl@0: #endif sl@0: sl@0: #if (__DMC__ < 0x840) sl@0: # if defined(BOOST_ASSERT_CONFIG) sl@0: # error "Unknown compiler version - please run the configure tests and report the results" sl@0: # endif sl@0: #endif