[cig-commits] r13974 - cs/cigma/trunk/tests/libcigma

luis at geodynamics.org luis at geodynamics.org
Wed Jan 28 09:04:58 PST 2009


Author: luis
Date: 2009-01-28 09:04:58 -0800 (Wed, 28 Jan 2009)
New Revision: 13974

Modified:
   cs/cigma/trunk/tests/libcigma/MiscTest.cpp
Log:
Compatibility with boost version 1.33

Modified: cs/cigma/trunk/tests/libcigma/MiscTest.cpp
===================================================================
--- cs/cigma/trunk/tests/libcigma/MiscTest.cpp	2009-01-28 17:04:57 UTC (rev 13973)
+++ cs/cigma/trunk/tests/libcigma/MiscTest.cpp	2009-01-28 17:04:58 UTC (rev 13974)
@@ -6,7 +6,12 @@
 #include <cstdio>
 using namespace std;
 
+#include <boost/version.hpp>
+#if BOOST_VERSION >= 103400
 #include <boost/filesystem.hpp>
+#else
+#include <boost/filesystem/convenience.hpp>
+#endif
 namespace fs = boost::filesystem;
 
 /*



More information about the CIG-COMMITS mailing list