diff options
Diffstat (limited to 'libs/interprocess/test/managed_mapped_file_test.cpp')
-rw-r--r-- | libs/interprocess/test/managed_mapped_file_test.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/interprocess/test/managed_mapped_file_test.cpp b/libs/interprocess/test/managed_mapped_file_test.cpp index 90f0f0034..1b8375987 100644 --- a/libs/interprocess/test/managed_mapped_file_test.cpp +++ b/libs/interprocess/test/managed_mapped_file_test.cpp @@ -8,6 +8,8 @@ // ////////////////////////////////////////////////////////////////////////////// +#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> @@ -224,3 +226,12 @@ int main () } #include <boost/interprocess/detail/config_end.hpp> + +#else //#if defined(BOOST_INTERPROCESS_MAPPED_FILES) + +int main() +{ + return 0; +} + +#endif//#if defined(BOOST_INTERPROCESS_MAPPED_FILES) |