projects
/
platform
/
upstream
/
boost.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 1.57.0
[platform/upstream/boost.git]
/
libs
/
intrusive
/
example
/
doc_offset_ptr.cpp
diff --git
a/libs/intrusive/example/doc_offset_ptr.cpp
b/libs/intrusive/example/doc_offset_ptr.cpp
index
ca54844
..
9d83816
100644
(file)
--- a/
libs/intrusive/example/doc_offset_ptr.cpp
+++ b/
libs/intrusive/example/doc_offset_ptr.cpp
@@
-1,6
+1,6
@@
/////////////////////////////////////////////////////////////////////////////
//
/////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Ion Gaztanaga 2006-201
2
+// (C) Copyright Ion Gaztanaga 2006-201
3
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
@@
-10,6
+10,18
@@
//
/////////////////////////////////////////////////////////////////////////////
//
/////////////////////////////////////////////////////////////////////////////
+#include <boost/config.hpp>
+
+#ifdef BOOST_NO_EXCEPTIONS
+
+//Interprocess does not support BOOST_NO_EXCEPTIONS so nothing to test here
+int main()
+{
+ return 0;
+}
+
+#else //!BOOST_NO_EXCEPTIONS
+
//This is needed to allow concurrent test execution in
//several platforms. The shared memory must be unique
//for each process...
//This is needed to allow concurrent test execution in
//several platforms. The shared memory must be unique
//for each process...
@@
-100,3
+112,6
@@
int main()
return 0;
}
//]
return 0;
}
//]
+
+#endif //BOOST_NO_EXCEPTIONS
+