mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
973fe1fb28
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2995 91177308-0d34-0410-b5e6-96231b3b80d8
74 lines
2.4 KiB
C++
74 lines
2.4 KiB
C++
// (C) Copyright Boost.org 2001. Permission to copy, use, modify, sell and
|
|
// distribute this software is granted provided this copyright notice appears
|
|
// in all copies. This software is provided "as is" without express or implied
|
|
// warranty, and with no claim as to its suitability for any purpose.
|
|
|
|
// See http://www.boost.org for most recent version.
|
|
|
|
// Dinkumware standard library config:
|
|
|
|
#if !defined(_YVALS) && !defined(_CPPLIB_VER)
|
|
#include <utility>
|
|
#if !defined(_YVALS) && !defined(_CPPLIB_VER)
|
|
#error This is not the Dinkumware lib!
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#if defined(_CPPLIB_VER) && (_CPPLIB_VER >= 306)
|
|
// full dinkumware 3.06 and above
|
|
// fully conforming provided the compiler supports it:
|
|
# if !(defined(_GLOBAL_USING) && (_GLOBAL_USING+0 > 0)) && !defined(_STD) // can be defined in yvals.h
|
|
# define BOOST_NO_STDC_NAMESPACE
|
|
# endif
|
|
# if !(defined(_HAS_MEMBER_TEMPLATES_REBIND) && (_HAS_MEMBER_TEMPLATES_REBIND+0 > 0))
|
|
# define BOOST_NO_STD_ALLOCATOR
|
|
# endif
|
|
# if defined(_MSC_VER) && (_MSC_VER < 1300)
|
|
// if this lib version is set up for vc6 then there is no std::use_facet:
|
|
# define BOOST_NO_STD_USE_FACET
|
|
# define BOOST_HAS_TWO_ARG_USE_FACET
|
|
// C lib functions aren't in namespace std either:
|
|
# define BOOST_NO_STDC_NAMESPACE
|
|
# endif
|
|
// 3.06 appears to have (non-sgi versions of) <hash_set> & <hash_map>,
|
|
// and no <slist> at all
|
|
#else
|
|
# define BOOST_MSVC_STD_ITERATOR 1
|
|
# define BOOST_NO_STD_ITERATOR
|
|
# define BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS
|
|
# define BOOST_NO_STD_ALLOCATOR
|
|
# define BOOST_NO_STDC_NAMESPACE
|
|
# define BOOST_NO_STD_USE_FACET
|
|
# define BOOST_NO_STD_OUTPUT_ITERATOR_ASSIGN
|
|
# define BOOST_HAS_MACRO_USE_FACET
|
|
# ifndef _CPPLIB_VER
|
|
// Updated Dinkum library defines this, and provides
|
|
// its own min and max definitions.
|
|
# define BOOST_NO_STD_MIN_MAX
|
|
# undef min
|
|
# undef max
|
|
# endif
|
|
# ifndef NOMINMAX
|
|
// avoid spurious NOMINMAX redefinition warning
|
|
# define NOMINMAX
|
|
# endif
|
|
#endif
|
|
|
|
#if defined(_MSC_VER) && (_MSC_VER <= 1200) || !defined(_CPPLIB_VER) || _CPPLIB_VER < 306
|
|
// if we're using a dinkum lib that's
|
|
// been configured for VC6 then there is
|
|
// no iterator traits (true even for icl)
|
|
# define BOOST_NO_STD_ITERATOR_TRAITS
|
|
#endif
|
|
|
|
#ifdef _CPPLIB_VER
|
|
# define BOOST_STDLIB "Dinkumware standard library version " BOOST_STRINGIZE(_CPPLIB_VER)
|
|
#else
|
|
# define BOOST_STDLIB "Dinkumware standard library version 1.x"
|
|
#endif
|
|
|
|
|
|
|
|
|