Update of /cvsroot/boost/boost/boost/asio
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv18446

Modified Files:
        buffer.hpp 
Log Message:
Enable buffer debugging for g++ when _GLIBCXX_DEBUG is defined.


Index: buffer.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/asio/buffer.hpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- buffer.hpp  6 Feb 2007 22:23:48 -0000       1.6
+++ buffer.hpp  22 Apr 2007 07:41:54 -0000      1.7
@@ -34,6 +34,14 @@
 # endif // defined(_HAS_ITERATOR_DEBUGGING)
 #endif // defined(BOOST_MSVC)
 
+#if defined(__GNUC__)
+# if defined(_GLIBCXX_DEBUG)
+#  if !defined(BOOST_ASIO_DISABLE_BUFFER_DEBUGGING)
+#   define BOOST_ASIO_ENABLE_BUFFER_DEBUGGING
+#  endif // !defined(BOOST_ASIO_DISABLE_BUFFER_DEBUGGING)
+# endif // defined(_GLIBCXX_DEBUG)
+#endif // defined(__GNUC__)
+
 #if defined(BOOST_ASIO_ENABLE_BUFFER_DEBUGGING)
 # include <boost/asio/detail/push_options.hpp>
 # include <boost/function.hpp>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to