Enable test again, check BOOST_INTERPROCESS_MAPPED_FILES after workaround.hpp is included

This commit is contained in:
Ion Gaztañaga
2018-11-17 00:22:25 +01:00
parent fbf326ccf1
commit 1e89871cdd

View File

@@ -8,9 +8,11 @@
//
//////////////////////////////////////////////////////////////////////////////
#include <boost/interprocess/detail/config_begin.hpp>
#include <boost/interprocess/detail/workaround.hpp>
#if defined(BOOST_INTERPROCESS_MAPPED_FILES)
#include <boost/interprocess/detail/config_begin.hpp>
#include <boost/interprocess/allocators/allocator.hpp>
#include <boost/interprocess/containers/vector.hpp>
#include <boost/interprocess/managed_mapped_file.hpp>
@@ -225,8 +227,6 @@ int main ()
return 0;
}
#include <boost/interprocess/detail/config_end.hpp>
#else //#if defined(BOOST_INTERPROCESS_MAPPED_FILES)
int main()
@@ -235,3 +235,5 @@ int main()
}
#endif//#if defined(BOOST_INTERPROCESS_MAPPED_FILES)
#include <boost/interprocess/detail/config_end.hpp>