diff options
Diffstat (limited to 'ice40')
-rw-r--r-- | ice40/arch.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ice40/arch.cc b/ice40/arch.cc index 6d07a949..645e93cb 100644 --- a/ice40/arch.cc +++ b/ice40/arch.cc @@ -57,12 +57,12 @@ const char *chipdb_blob_5k = nullptr; const char *chipdb_blob_u4k = nullptr; const char *chipdb_blob_8k = nullptr; -boost::iostreams::mapped_file_source blob_files[5]; +boost::iostreams::mapped_file blob_files[5]; const char *mmap_file(int index, const char *filename) { try { - blob_files[index].open(filename); + blob_files[index].open(filename, boost::iostreams::mapped_file::priv); if (!blob_files[index].is_open()) log_error("Unable to read chipdb %s\n", filename); return (const char *)blob_files[index].data(); |