2020#include < boost/interprocess/mapped_region.hpp>
2121#include < boost/iostreams/device/array.hpp>
2222#include < boost/iostreams/stream.hpp>
23- #include < boost/uuid/uuid_generators.hpp>
24- #include < boost/uuid/uuid_io.hpp>
25- #include < boost/version.hpp> // for BOOST_VERSION
2623
2724#ifdef _WIN32
2825#include < boost/interprocess/detail/os_file_functions.hpp> // open_existing_file(), close_file()
29- // boost::interprocess::detail was renamed to boost::interprocess::ipcdetail in Boost 1.48.
30- // Ensure that both namespaces exist.
31- namespace boost { namespace interprocess { namespace detail {} namespace ipcdetail {} } }
3226#include < windows.h>
3327#else
3428#include < sys/types.h> // for struct stat
@@ -43,16 +37,6 @@ namespace boost { namespace interprocess { namespace detail {} namespace ipcdeta
4337
4438#ifdef OPENVDB_USE_BLOSC
4539#include < blosc.h>
46- // A Blosc optimization introduced in 1.11.0 uses a slightly smaller block size for
47- // HCR codecs (LZ4, ZLIB, ZSTD), which otherwise fails a few regression test cases
48- #if BLOSC_VERSION_MAJOR > 1 || (BLOSC_VERSION_MAJOR == 1 && BLOSC_VERSION_MINOR > 10)
49- #define BLOSC_HCR_BLOCKSIZE_OPTIMIZATION
50- #endif
51- // Blosc 1.14+ writes backwards-compatible data by default.
52- // http://blosc.org/posts/new-forward-compat-policy/
53- #if BLOSC_VERSION_MAJOR > 1 || (BLOSC_VERSION_MAJOR == 1 && BLOSC_VERSION_MINOR >= 14)
54- #define BLOSC_BACKWARDS_COMPATIBLE
55- #endif
5640#endif
5741
5842#ifdef OPENVDB_USE_DELAYED_LOADING
@@ -74,7 +58,6 @@ class ProxyMappedFile
7458 mLastWriteTime = 0 ;
7559 const char * regionFilename = mMap .get_name ();
7660#ifdef _WIN32
77- using namespace boost ::interprocess::detail;
7861 using namespace boost ::interprocess::ipcdetail;
7962 using openvdb::Index64;
8063
0 commit comments