From c1c74a14f0be1c999d1df9c7a099f96bed71a965 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Thu, 18 Dec 2014 12:57:04 +1100 Subject: [PATCH] io: always enable mapped_file --- io.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/io.hpp b/io.hpp index dc2ec681..ebdc208b 100644 --- a/io.hpp +++ b/io.hpp @@ -112,7 +112,6 @@ namespace util { void set_cwd (const boost::filesystem::path &); -#if defined(HAVE_MMAP) /// Wraps a mechanism to map a file into memory. Read only. class mapped_file { private: @@ -143,7 +142,6 @@ namespace util { const uint8_t* cbegin (void) const; const uint8_t* cend (void) const; }; -#endif class path_error : public std::runtime_error {