--- boost/config/compiler/clang.hpp.orig
+++ boost/config/compiler/clang.hpp
@@ -248,6 +248,16 @@
 #  define BOOST_NO_CXX11_INLINE_NAMESPACES
 #endif
 
+// Apple Clang uses libc++ by default on Mavericks (OS X 10.9)  and higher
+// Apple Clang uses libstdc++ by default on Mountain Lion (OS X 10.8) and lower
+
+#ifdef __APPLE__
+#include <ciso646>
+#ifndef _LIBCPP_VERSION
+#  define BOOST_APPLE_CLANG_NO_LIBCXX
+#endif
+#endif
+
 #if !__has_feature(cxx_override_control)
 #  define BOOST_NO_CXX11_FINAL
 #  define BOOST_NO_CXX11_OVERRIDE
--- boost/multi_index/detail/vartempl_support.hpp.orig
+++ boost/multi_index/detail/vartempl_support.hpp
@@ -40,11 +40,12 @@
  */
 
 #include <boost/config.hpp>
 
 #if defined(BOOST_NO_CXX11_RVALUE_REFERENCES)||\
-    defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
+    defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)||\
+    defined(BOOST_APPLE_CLANG_NO_LIBCXX)
 
 #include <boost/move/core.hpp>
 #include <boost/move/utility.hpp>
 #include <boost/preprocessor/arithmetic/add.hpp>
 #include <boost/preprocessor/arithmetic/sub.hpp>
