> Indeed, I added _LIBCPP_HAS_NO_MONOTONIC_CLOCK for exactly the situation 
> @hfinkel describes: my platform doesn't have access to a monotonic clock.


Note that if you don't have a monotonic clock, none of the thread/mutex/etc 
stuff will compile.
The only way that @jroelofs does this is to also define _LIBCPP_HAS_NO_THREADS.

The C++ standard *requires* that an implementation have a monotonic clock.


http://reviews.llvm.org/D8253

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to