diff options
Diffstat (limited to 'libcxx/include/future')
-rw-r--r-- | libcxx/include/future | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/future b/libcxx/include/future index 7cd88cb726b..83513fa693d 100644 --- a/libcxx/include/future +++ b/libcxx/include/future @@ -374,7 +374,7 @@ template <class R, class Alloc> struct uses_allocator<packaged_task<R>, Alloc>; #pragma GCC system_header #endif -#ifndef _LIBCPP_HAS_NO_THREADS +#ifdef _LIBCPP_HAS_NO_THREADS #error <future> is not supported on this single threaded system #else // !_LIBCPP_HAS_NO_THREADS |