diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2015-04-08 03:09:47 +0000 |
---|---|---|
committer | <> | 2015-05-05 14:37:32 +0000 |
commit | f2541bb90af059680aa7036f315f052175999355 (patch) | |
tree | a5b214744b256f07e1dc2bd7273035a7808c659f /libs/interprocess/example/doc_managed_multiple_allocation.cpp | |
parent | ed232fdd34968697a68783b3195b1da4226915b5 (diff) | |
download | boost-tarball-master.tar.gz |
Imported from /home/lorry/working-area/delta_boost-tarball/boost_1_58_0.tar.bz2.HEADboost_1_58_0master
Diffstat (limited to 'libs/interprocess/example/doc_managed_multiple_allocation.cpp')
-rw-r--r-- | libs/interprocess/example/doc_managed_multiple_allocation.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libs/interprocess/example/doc_managed_multiple_allocation.cpp b/libs/interprocess/example/doc_managed_multiple_allocation.cpp index 1a7589d6f..97835c56a 100644 --- a/libs/interprocess/example/doc_managed_multiple_allocation.cpp +++ b/libs/interprocess/example/doc_managed_multiple_allocation.cpp @@ -7,6 +7,8 @@ // See http://www.boost.org/libs/interprocess for documentation. // ////////////////////////////////////////////////////////////////////////////// +#if defined(BOOST_INTERPROCESS_MAPPED_FILES) + #include <boost/interprocess/detail/config_begin.hpp> //[doc_managed_multiple_allocation #include <boost/interprocess/managed_shared_memory.hpp> @@ -89,3 +91,10 @@ 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) |