]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/interprocess/test/include_but_no_use_windows_h.cpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / interprocess / test / include_but_no_use_windows_h.cpp
1 //////////////////////////////////////////////////////////////////////////////
2 //
3 // (C) Copyright Ion Gaztanaga 2014-2014. 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 #include <boost/interprocess/detail/workaround.hpp>
11
12 #ifdef BOOST_INTERPROCESS_WINDOWS
13 #include <windows.h>
14
15 #include <boost/interprocess/windows_shared_memory.hpp>
16
17 using namespace boost::interprocess;
18
19 int main ()
20 {
21 windows_shared_memory dummy;
22 static_cast<void>(dummy);
23 return 0;
24 }
25
26 #else
27
28 int main()
29 {
30 return 0;
31 }
32
33 #endif