blob: a4ee678730dad1406dbeba89e0092f049257b3c8 [file] [log] [blame]
Jeff Thompsonf7d49942013-08-01 16:47:40 -07001// (C) Copyright Christopher Jefferson 2011.
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// config for libc++
9// Might need more in here later.
10
11#if !defined(_LIBCPP_VERSION)
12# include <ciso646>
13# if !defined(_LIBCPP_VERSION)
14# error "This is not libc++!"
15# endif
16#endif
17
Jeff Thompson3d613fd2013-10-15 15:39:04 -070018#define NDNBOOST_STDLIB "libc++ version " NDNBOOST_STRINGIZE(_LIBCPP_VERSION)
Jeff Thompsonf7d49942013-08-01 16:47:40 -070019
Jeff Thompson3d613fd2013-10-15 15:39:04 -070020#define NDNBOOST_HAS_THREADS
Jeff Thompsonf7d49942013-08-01 16:47:40 -070021
22#ifdef _LIBCPP_HAS_NO_VARIADICS
Jeff Thompson3d613fd2013-10-15 15:39:04 -070023# define NDNBOOST_NO_CXX11_HDR_TUPLE
Jeff Thompsonf7d49942013-08-01 16:47:40 -070024#endif
25
26//
27// These appear to be unusable/incomplete so far:
28//
Jeff Thompson3d613fd2013-10-15 15:39:04 -070029# define NDNBOOST_NO_CXX11_HDR_CHRONO
30# define NDNBOOST_NO_CXX11_HDR_FUTURE
31# define NDNBOOST_NO_CXX11_HDR_TYPE_TRAITS
32# define NDNBOOST_NO_CXX11_ATOMIC_SMART_PTR
Jeff Thompsonf7d49942013-08-01 16:47:40 -070033
34// libc++ uses a non-standard messages_base
Jeff Thompson3d613fd2013-10-15 15:39:04 -070035#define NDNBOOST_NO_STD_MESSAGES
Jeff Thompsonf7d49942013-08-01 16:47:40 -070036
37// --- end ---