mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-30 16:17:05 +00:00 
			
		
		
		
	git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2995 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			108 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			108 lines
		
	
	
		
			3.0 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.
 | |
| 
 | |
| //  generic SGI STL:
 | |
| 
 | |
| #if !defined(__STL_CONFIG_H)
 | |
| #  include <utility>
 | |
| #  if !defined(__STL_CONFIG_H)
 | |
| #      error "This is not the SGI STL!"
 | |
| #  endif
 | |
| #endif
 | |
| 
 | |
| //
 | |
| // No std::iterator traits without partial specialisation:
 | |
| //
 | |
| #if !defined(__STL_CLASS_PARTIAL_SPECIALIZATION)
 | |
| #  define BOOST_NO_STD_ITERATOR_TRAITS
 | |
| #endif
 | |
| 
 | |
| //
 | |
| // No std::stringstream with gcc < 3
 | |
| //
 | |
| #if defined(__GNUC__) && (__GNUC__ < 3) && \
 | |
|      ((__GNUC_MINOR__ < 95) || (__GNUC_MINOR__ == 96)) && \
 | |
|      !defined(__STL_USE_NEW_IOSTREAMS) || \
 | |
|    defined(__APPLE_CC__)
 | |
|    // Note that we only set this for GNU C++ prior to 2.95 since the
 | |
|    // latest patches for that release do contain a minimal <sstream>
 | |
|    // If you are running a 2.95 release prior to 2.95.3 then this will need
 | |
|    // setting, but there is no way to detect that automatically (other
 | |
|    // than by running the configure script).
 | |
|    // Also, the unofficial GNU C++ 2.96 included in RedHat 7.1 doesn't
 | |
|    // have <sstream>.
 | |
| #  define BOOST_NO_STRINGSTREAM
 | |
| #endif
 | |
| 
 | |
| //
 | |
| // Assume no std::locale without own iostreams (this may be an
 | |
| // incorrect assumption in some cases):
 | |
| //
 | |
| #if !defined(__SGI_STL_OWN_IOSTREAMS) && !defined(__STL_USE_NEW_IOSTREAMS)
 | |
| #  define BOOST_NO_STD_LOCALE
 | |
| #endif
 | |
| 
 | |
| //
 | |
| // Original native SGI streams have non-standard std::messages facet:
 | |
| //
 | |
| #if defined(__sgi) && (_COMPILER_VERSION <= 650) && !defined(__SGI_STL_OWN_IOSTREAMS)
 | |
| #  define BOOST_NO_STD_LOCALE
 | |
| #endif
 | |
| 
 | |
| //
 | |
| // SGI's new iostreams have missing "const" in messages<>::open
 | |
| //
 | |
| #if defined(__sgi) && (_COMPILER_VERSION <= 730) && defined(__STL_USE_NEW_IOSTREAMS)
 | |
| #  define BOOST_NO_STD_MESSAGES
 | |
| #endif
 | |
| 
 | |
| //
 | |
| // No template iterator constructors, or std::allocator
 | |
| // without member templates:
 | |
| //
 | |
| #if !defined(__STL_MEMBER_TEMPLATES)
 | |
| #  define BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS
 | |
| #  define BOOST_NO_STD_ALLOCATOR
 | |
| #endif
 | |
| 
 | |
| //
 | |
| // We always have SGI style hash_set, hash_map, and slist:
 | |
| //
 | |
| #define BOOST_HAS_HASH
 | |
| #define BOOST_HAS_SLIST
 | |
| 
 | |
| //
 | |
| // If this is GNU libstdc++2, then no <limits> and no std::wstring:
 | |
| //
 | |
| #if (defined(__GNUC__) && (__GNUC__ < 3))
 | |
| #  include <string>
 | |
| #  if defined(__BASTRING__)
 | |
| #     define BOOST_NO_LIMITS
 | |
| // Note: <boost/limits.hpp> will provide compile-time constants
 | |
| #     undef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
 | |
| #     define BOOST_NO_STD_WSTRING
 | |
| #  endif
 | |
| #endif
 | |
| 
 | |
| //
 | |
| // There is no standard iterator unless we have namespace support:
 | |
| //
 | |
| #if !defined(__STL_USE_NAMESPACES)
 | |
| #  define BOOST_NO_STD_ITERATOR
 | |
| #endif
 | |
| 
 | |
| //
 | |
| // Intrinsic type_traits support.
 | |
| // The SGI STL has it's own __type_traits class, which
 | |
| // has intrinsic compiler support with SGI's compilers.
 | |
| // Whatever map SGI style type traits to boost equivalents:
 | |
| //
 | |
| #define BOOST_HAS_SGI_TYPE_TRAITS
 | |
| 
 | |
| #define BOOST_STDLIB "SGI standard library"
 | |
| 
 |