theraven added a comment.

This version looks much better (well, the previous one is cleaner, but this one 
looks like it shouldn't break the ABI - did you test this?  It looks like it 
should work, but I've not actually tried it).


================
Comment at: include/__config:742
@@ +741,3 @@
+#ifndef _LIBCPP_HAS_NO_THREADS
+# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__linux__) || 
defined(__APPLE__)
+#  define _LIBCPP_THREAD_API _LIBCPP_PTHREAD
----------------
#ifdef unix will catch most of these (for some reason, not OS X, even though 
it's the only one that actually is certified as UNIX...)


Repository:
  rL LLVM

http://reviews.llvm.org/D11781



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to