summaryrefslogtreecommitdiff
path: root/dviware/dvisvgm/libs/boost/vectorstream.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'dviware/dvisvgm/libs/boost/vectorstream.hpp')
-rw-r--r--dviware/dvisvgm/libs/boost/vectorstream.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/dviware/dvisvgm/libs/boost/vectorstream.hpp b/dviware/dvisvgm/libs/boost/vectorstream.hpp
new file mode 100644
index 0000000000..6afbfc9446
--- /dev/null
+++ b/dviware/dvisvgm/libs/boost/vectorstream.hpp
@@ -0,0 +1,17 @@
+#pragma once
+
+#ifndef BOOST_OVERRIDE
+#define BOOST_OVERRIDE override
+#endif
+
+#ifndef BOOST_ASSERT
+#define BOOST_ASSERT(expr)
+#endif
+
+#include "boost-vectorstream.hpp"
+
+template <class CharVector>
+using ovectorstream = boost::interprocess::basic_ovectorstream<CharVector, std::char_traits<typename CharVector::value_type>>;
+
+template <class CharVector>
+using ivectorstream = boost::interprocess::basic_ivectorstream<CharVector, std::char_traits<typename CharVector::value_type>>;