summaryrefslogtreecommitdiffstats
path: root/libcxx/include/future
diff options
context:
space:
mode:
authorJonathan Roelofs <jonathan@codesourcery.com>2014-09-05 20:28:44 +0000
committerJonathan Roelofs <jonathan@codesourcery.com>2014-09-05 20:28:44 +0000
commitafe6794bc2ee35880e970e7e9fcde6c2ad72b51b (patch)
tree650d5a150f0d3ff90f77bae7c8c9306e841c19b2 /libcxx/include/future
parentbb1c918ec85f24457a4aeb47a08683df34063916 (diff)
Address some post-commit review comments on r217261
llvm-svn: 217276
Diffstat (limited to 'libcxx/include/future')
-rw-r--r--libcxx/include/future2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/future b/libcxx/include/future
index 7cd88cb726ba..83513fa693d6 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