Jeff Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 1 | // (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 Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 18 | #define NDNBOOST_STDLIB "libc++ version " NDNBOOST_STRINGIZE(_LIBCPP_VERSION) |
Jeff Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 19 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 20 | #define NDNBOOST_HAS_THREADS |
Jeff Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 21 | |
| 22 | #ifdef _LIBCPP_HAS_NO_VARIADICS |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 23 | # define NDNBOOST_NO_CXX11_HDR_TUPLE |
Jeff Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 24 | #endif |
| 25 | |
| 26 | // |
| 27 | // These appear to be unusable/incomplete so far: |
| 28 | // |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 29 | # 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 Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 33 | |
| 34 | // libc++ uses a non-standard messages_base |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 35 | #define NDNBOOST_NO_STD_MESSAGES |
Jeff Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 36 | |
| 37 | // --- end --- |