blob: 3d574407ec37b5b5759d281d22d84b28f9e22bd0 [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
18#define BOOST_STDLIB "libc++ version " BOOST_STRINGIZE(_LIBCPP_VERSION)
19
20#define BOOST_HAS_THREADS
21
22#ifdef _LIBCPP_HAS_NO_VARIADICS
23# define BOOST_NO_CXX11_HDR_TUPLE
24#endif
25
26//
27// These appear to be unusable/incomplete so far:
28//
29# define BOOST_NO_CXX11_HDR_CHRONO
30# define BOOST_NO_CXX11_HDR_FUTURE
31# define BOOST_NO_CXX11_HDR_TYPE_TRAITS
32# define BOOST_NO_CXX11_ATOMIC_SMART_PTR
33
34// libc++ uses a non-standard messages_base
35#define BOOST_NO_STD_MESSAGES
36
37// --- end ---