1 | ////////////////////////////////////////////////////////////////////////////// |
2 | // |
3 | // (C) Copyright Ion Gaztanaga 2004-2012. Distributed under the Boost |
4 | // Software License, Version 1.0. (See accompanying file |
5 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
6 | // |
7 | // See http://www.boost.org/libs/interprocess for documentation. |
8 | // |
9 | ////////////////////////////////////////////////////////////////////////////// |
10 | |
11 | #include <boost/interprocess/detail/workaround.hpp> |
12 | |
13 | #ifdef BOOST_INTERPROCESS_WINDOWS |
14 | #include <boost/interprocess/sync/windows/named_semaphore.hpp> |
15 | #include "named_semaphore_test_helpers.hpp" |
16 | |
17 | using namespace boost::interprocess; |
18 | |
19 | int main() |
20 | { |
21 | return test::test_named_semaphore<ipcdetail::winapi_named_semaphore>(); |
22 | } |
23 | |
24 | #else |
25 | |
26 | int main() |
27 | { |
28 | return 0; |
29 | } |
30 | |
31 | #endif |
32 | |