diff -ru boost_1_55_0.org/boost/interprocess/detail/tmp_dir_helpers.hpp boost_1_55_0/boost/interprocess/detail/tmp_dir_helpers.hpp
old
|
new
|
|
105 | 105 | throw interprocess_exception(err); |
106 | 106 | } |
107 | 107 | //Remove final null. |
108 | | tmp_name += "/boost_interprocess"; |
| 108 | tmp_name += "/" BOOST_INTERPROCESS_TMP_DIR; |
109 | 109 | } |
110 | 110 | |
111 | 111 | inline void tmp_folder(std::string &tmp_name) |
diff -ru boost_1_55_0.org/boost/interprocess/detail/workaround.hpp boost_1_55_0/boost/interprocess/detail/workaround.hpp
old
|
new
|
|
189 | 189 | #define BOOST_INTERPROCESS_NOEXCEPT_IF(x) noexcept(x) |
190 | 190 | #endif |
191 | 191 | |
| 192 | #if !defined(BOOST_INTERPROCESS_TMP_DIR) |
| 193 | #if !defined(BOOST_INTERPROCESS_WINDOWS) || defined(BOOST_INTERPROCESS_BOOTSTAMP_IS_LASTBOOTUPTIME) |
| 194 | #define BOOST_INTERPROCESS_TMP_DIR "boost_interprocess" |
| 195 | #else |
| 196 | /* Use a different dir name so pre-1.54 boost::interprocess doesn't |
| 197 | * errorneously remove the temp dir */ |
| 198 | #define BOOST_INTERPROCESS_TMP_DIR "boost_interprocess2" |
| 199 | #endif |
| 200 | #endif |
| 201 | |
192 | 202 | #include <boost/interprocess/detail/config_end.hpp> |
193 | 203 | |
194 | 204 | #endif //#ifndef BOOST_INTERPROCESS_DETAIL_WORKAROUND_HPP |