Revision: 197
http://stdair.svn.sourceforge.net/stdair/?rev=197&view=rev
Author: denis_arnaud
Date: 2010-06-27 13:01:09 +0000 (Sun, 27 Jun 2010)
Log Message:
-----------
[Dev] Added pragma directives to support Boost versions lower than 1.35 (e.g., for RedHat/CentOS 5).
Modified Paths:
--------------
trunk/stdair/stdair/basic/BasFileMgr.cpp
Modified: trunk/stdair/stdair/basic/BasFileMgr.cpp
===================================================================
--- trunk/stdair/stdair/basic/BasFileMgr.cpp 2010-06-27 12:59:39 UTC (rev 196)
+++ trunk/stdair/stdair/basic/BasFileMgr.cpp 2010-06-27 13:01:09 UTC (rev 197)
@@ -8,10 +8,10 @@
#include <boost/version.hpp>
#if BOOST_VERSION >= 103500
#include <boost/filesystem.hpp>
-#else
+#else // BOOST_VERSION >= 103500
#include <boost/filesystem/path.hpp>
#include <boost/filesystem/operations.hpp>
-#endif
+#endif // BOOST_VERSION >= 103500
// StdAir
#include <stdair/basic/BasFileMgr.hpp>
@@ -33,7 +33,7 @@
if (boostfs::is_regular (lPath) == true) {
oFine = true;
}
-#endif
+#endif // BOOST_VERSION >= 103500
return oFine;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|