vacpp.hpp 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. // (C) Copyright John Maddock 2001 - 2002.
  2. // Use, modification and distribution are subject to the
  3. // Boost Software License, Version 1.0. (See accompanying file
  4. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. // See http://www.boost.org for most recent version.
  6. #if __IBMCPP__ <= 501
  7. # define BOOST_NO_STD_ALLOCATOR
  8. #endif
  9. #define BOOST_HAS_MACRO_USE_FACET
  10. #define BOOST_NO_STD_MESSAGES
  11. // Apple doesn't seem to reliably defined a *unix* macro
  12. #if !defined(CYGWIN) && ( defined(__unix__) \
  13. || defined(__unix) \
  14. || defined(unix) \
  15. || defined(__APPLE__) \
  16. || defined(__APPLE) \
  17. || defined(APPLE))
  18. # include <unistd.h>
  19. #endif
  20. // C++0x headers not yet implemented
  21. //
  22. # define BOOST_NO_CXX11_HDR_ARRAY
  23. # define BOOST_NO_CXX11_HDR_CHRONO
  24. # define BOOST_NO_CXX11_HDR_CODECVT
  25. # define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE
  26. # define BOOST_NO_CXX11_HDR_FORWARD_LIST
  27. # define BOOST_NO_CXX11_HDR_FUTURE
  28. # define BOOST_NO_CXX11_HDR_INITIALIZER_LIST
  29. # define BOOST_NO_CXX11_HDR_MUTEX
  30. # define BOOST_NO_CXX11_HDR_RANDOM
  31. # define BOOST_NO_CXX11_HDR_RATIO
  32. # define BOOST_NO_CXX11_HDR_REGEX
  33. # define BOOST_NO_CXX11_HDR_SYSTEM_ERROR
  34. # define BOOST_NO_CXX11_HDR_THREAD
  35. # define BOOST_NO_CXX11_HDR_TUPLE
  36. # define BOOST_NO_CXX11_HDR_TYPE_TRAITS
  37. # define BOOST_NO_CXX11_HDR_TYPEINDEX
  38. # define BOOST_NO_CXX11_HDR_UNORDERED_MAP
  39. # define BOOST_NO_CXX11_HDR_UNORDERED_SET
  40. # define BOOST_NO_CXX11_NUMERIC_LIMITS
  41. # define BOOST_NO_CXX11_ALLOCATOR
  42. # define BOOST_NO_CXX11_POINTER_TRAITS
  43. # define BOOST_NO_CXX11_ATOMIC_SMART_PTR
  44. # define BOOST_NO_CXX11_SMART_PTR
  45. # define BOOST_NO_CXX11_HDR_FUNCTIONAL
  46. # define BOOST_NO_CXX11_HDR_ATOMIC
  47. # define BOOST_NO_CXX11_STD_ALIGN
  48. # define BOOST_NO_CXX11_ADDRESSOF
  49. #if defined(__has_include)
  50. #if !__has_include(<shared_mutex>)
  51. # define BOOST_NO_CXX14_HDR_SHARED_MUTEX
  52. #elif __cplusplus < 201402
  53. # define BOOST_NO_CXX14_HDR_SHARED_MUTEX
  54. #endif
  55. #else
  56. # define BOOST_NO_CXX14_HDR_SHARED_MUTEX
  57. #endif
  58. // C++14 features
  59. # define BOOST_NO_CXX14_STD_EXCHANGE
  60. // C++17 features
  61. # define BOOST_NO_CXX17_STD_APPLY
  62. # define BOOST_NO_CXX17_STD_INVOKE
  63. # define BOOST_NO_CXX17_ITERATOR_TRAITS
  64. #define BOOST_STDLIB "Visual Age default standard library"