blob: 17f9f781e7228801fa834da73180ef039a3ca9e4 [file] [log] [blame]
Jeff Thompsonf7d49942013-08-01 16:47:40 -07001// (C) Copyright John Maddock 2006.
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
6// See http://www.boost.org for most recent version.
7
8// GCC-XML C++ compiler setup:
9
10# if !defined(__GCCXML_GNUC__) || ((__GCCXML_GNUC__ <= 3) && (__GCCXML_GNUC_MINOR__ <= 3))
Jeff Thompson3d613fd2013-10-15 15:39:04 -070011# define NDNBOOST_NO_IS_ABSTRACT
Jeff Thompsonf7d49942013-08-01 16:47:40 -070012# endif
13
14//
15// Threading support: Turn this on unconditionally here (except for
16// those platforms where we can know for sure). It will get turned off again
17// later if no threading API is detected.
18//
19#if !defined(__MINGW32__) && !defined(_MSC_VER) && !defined(linux) && !defined(__linux) && !defined(__linux__)
Jeff Thompson3d613fd2013-10-15 15:39:04 -070020# define NDNBOOST_HAS_THREADS
Jeff Thompsonf7d49942013-08-01 16:47:40 -070021#endif
22
23//
24// gcc has "long long"
25//
Jeff Thompson3d613fd2013-10-15 15:39:04 -070026#define NDNBOOST_HAS_LONG_LONG
Jeff Thompsonf7d49942013-08-01 16:47:40 -070027
28// C++0x features:
29//
Jeff Thompson3d613fd2013-10-15 15:39:04 -070030# define NDNBOOST_NO_CXX11_CONSTEXPR
31# define NDNBOOST_NO_CXX11_NULLPTR
32# define NDNBOOST_NO_CXX11_TEMPLATE_ALIASES
33# define NDNBOOST_NO_CXX11_DECLTYPE
34# define NDNBOOST_NO_CXX11_DECLTYPE_N3276
35# define NDNBOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
36# define NDNBOOST_NO_CXX11_RVALUE_REFERENCES
37# define NDNBOOST_NO_CXX11_STATIC_ASSERT
38# define NDNBOOST_NO_CXX11_VARIADIC_TEMPLATES
39# define NDNBOOST_NO_CXX11_VARIADIC_MACROS
40# define NDNBOOST_NO_CXX11_AUTO_DECLARATIONS
41# define NDNBOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
42# define NDNBOOST_NO_CXX11_CHAR16_T
43# define NDNBOOST_NO_CXX11_CHAR32_T
44# define NDNBOOST_NO_CXX11_DEFAULTED_FUNCTIONS
45# define NDNBOOST_NO_CXX11_DELETED_FUNCTIONS
46# define NDNBOOST_NO_CXX11_HDR_INITIALIZER_LIST
47# define NDNBOOST_NO_CXX11_SCOPED_ENUMS
48# define NDNBOOST_NO_SFINAE_EXPR
49# define NDNBOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
50# define NDNBOOST_NO_CXX11_LAMBDAS
51# define NDNBOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS
52# define NDNBOOST_NO_CXX11_RANGE_BASED_FOR
53# define NDNBOOST_NO_CXX11_RAW_LITERALS
54# define NDNBOOST_NO_CXX11_UNICODE_LITERALS
55# define NDNBOOST_NO_CXX11_NOEXCEPT
56# define NDNBOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
57# define NDNBOOST_NO_CXX11_USER_DEFINED_LITERALS
Jeff Thompsonf7d49942013-08-01 16:47:40 -070058
Jeff Thompson3d613fd2013-10-15 15:39:04 -070059#define NDNBOOST_COMPILER "GCC-XML C++ version " __GCCXML__
Jeff Thompsonf7d49942013-08-01 16:47:40 -070060
61