imgtools/imglib/boostlibrary/boost/tr1/tr1/new
changeset 600 6d08f4a05d93
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/imgtools/imglib/boostlibrary/boost/tr1/tr1/new	Fri Jun 25 18:11:34 2010 +0800
@@ -0,0 +1,35 @@
+//  (C) Copyright John Maddock 2005.
+//  Use, modification and distribution are subject to the
+//  Boost Software License, Version 1.0. (See accompanying file
+//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+//  This file exists to prevent std lib headers from accidentally
+//  including a TR1 extention header; we must suppress this otherwise
+//  we can end up with cyclic dependencies with some std lib implementations.
+//
+#ifdef BOOST_TR1_NO_new_RECURSION2
+#  define BOOST_TR1_NO_new_RECURSION3
+#elif defined(BOOST_TR1_NO_new_RECURSION)
+#  define BOOST_TR1_NO_new_RECURSION2
+#elif !defined(BOOST_TR1_NO_RECURSION)
+#     define BOOST_TR1_NO_RECURSION
+#     define BOOST_TR1_NO_new_RECURSION
+#endif
+
+#  include <boost/tr1/detail/config_all.hpp>
+#  ifdef BOOST_HAS_INCLUDE_NEXT
+#     include_next <new>
+#  else
+#     include BOOST_TR1_STD_HEADER(new)
+#  endif
+
+#ifdef BOOST_TR1_NO_new_RECURSION3
+#  undef BOOST_TR1_NO_new_RECURSION3
+#elif defined(BOOST_TR1_NO_new_RECURSION2)
+#  undef BOOST_TR1_NO_new_RECURSION2
+#elif defined(BOOST_TR1_NO_new_RECURSION)
+#     undef BOOST_TR1_NO_new_RECURSION
+#     undef BOOST_TR1_NO_RECURSION
+#endif
+
+