summaryrefslogtreecommitdiff
path: root/boost/filesystem/fstream.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/filesystem/fstream.hpp')
-rw-r--r--boost/filesystem/fstream.hpp35
1 files changed, 35 insertions, 0 deletions
diff --git a/boost/filesystem/fstream.hpp b/boost/filesystem/fstream.hpp
new file mode 100644
index 0000000000..e159e58ed3
--- /dev/null
+++ b/boost/filesystem/fstream.hpp
@@ -0,0 +1,35 @@
+// boost/filesystem/fstream.hpp ------------------------------------------------------//
+
+// Copyright Beman Dawes 2010
+
+// Distributed under the Boost Software License, Version 1.0.
+// See http://www.boost.org/LICENSE_1_0.txt
+
+// Library home page: http://www.boost.org/libs/filesystem
+
+//--------------------------------------------------------------------------------------//
+
+#ifndef BOOST_FILESYSTEM_FSTREAMX_HPP
+#define BOOST_FILESYSTEM_FSTREAMX_HPP
+
+#include <boost/config.hpp> // for <boost/config/user.hpp>, in case
+ // BOOST_FILESYSTEM_VERSION defined there
+
+# if defined(BOOST_FILESYSTEM_VERSION) \
+ && BOOST_FILESYSTEM_VERSION != 2 && BOOST_FILESYSTEM_VERSION != 3
+# error BOOST_FILESYSTEM_VERSION defined, but not as 2 or 3
+# endif
+
+# if !defined(BOOST_FILESYSTEM_VERSION)
+# define BOOST_FILESYSTEM_VERSION 3
+# endif
+
+#if BOOST_FILESYSTEM_VERSION == 2
+# include <boost/filesystem/v2/fstream.hpp>
+
+# else
+# include <boost/filesystem/v3/fstream.hpp>
+
+# endif
+
+#endif // BOOST_FILESYSTEM_FSTREAMX_HPP