]> git.lyx.org Git - lyx.git/blobdiff - src/support/debugstream.h
MacOSX compile fix.
[lyx.git] / src / support / debugstream.h
index c41d4d94b175988c6c2dfff91fe5e68ca6e45fe4..9b01f2702f12c8bf6c717c1f005fb59270e57a45 100644 (file)
 
 #include <iostream>
 
-#include <boost/test/detail/nullstream.hpp>
+#include <boost/version.hpp>
+
+#if BOOST_VERSION < 103300
+#  include <boost/test/detail/nullstream.hpp>
+#else
+#  include <boost/test/utils/nullstream.hpp>
+#endif
 
 #ifdef DEBUG
 # define TEMPORARY_DEBUG_MACRO DEBUG