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/test/mapped_file_test.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/test/mapped_file_test.cpp')
-rw-r--r-- | libs/interprocess/test/mapped_file_test.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libs/interprocess/test/mapped_file_test.cpp b/libs/interprocess/test/mapped_file_test.cpp index ed3257a12..9d19977aa 100644 --- a/libs/interprocess/test/mapped_file_test.cpp +++ b/libs/interprocess/test/mapped_file_test.cpp @@ -7,6 +7,7 @@ // See http://www.boost.org/libs/interprocess for documentation. // ////////////////////////////////////////////////////////////////////////////// +#if defined(BOOST_INTERPROCESS_MAPPED_FILES) #include <boost/interprocess/detail/config_begin.hpp> #include <boost/interprocess/allocators/allocator.hpp> @@ -88,3 +89,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) |