]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/interprocess/include/boost/interprocess/detail/posix_time_types_wrk.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / interprocess / include / boost / interprocess / detail / posix_time_types_wrk.hpp
CommitLineData
7c673cae
FG
1//////////////////////////////////////////////////////////////////////////////
2//
3// (C) Copyright Ion Gaztanaga 2005-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#ifndef BOOST_INTERPROCESS_POSIX_TIMES_WRK_HPP
12#define BOOST_INTERPROCESS_POSIX_TIMES_WRK_HPP
13
14#ifndef BOOST_CONFIG_HPP
15# include <boost/config.hpp>
16#endif
17#
18#if defined(BOOST_HAS_PRAGMA_ONCE)
19# pragma once
20#endif
21
22//workaround to avoid winsock redefines when using date-time
23
24#ifdef _WIN32
25#ifndef WIN32_LEAN_AND_MEAN
26#define WIN32_LEAN_AND_MEAN
27#define BOOST_INTERPROCESS_WIN32_LEAN_AND_MEAN
28#endif //#ifndef WIN32_LEAN_AND_MEAN
29#endif //#ifdef _WIN32
30
31#include <boost/date_time/microsec_time_clock.hpp>
32#include <boost/date_time/posix_time/ptime.hpp>
33#include <boost/date_time/posix_time/posix_time_duration.hpp>
34
35namespace boost {
36namespace interprocess {
37
38typedef boost::date_time::microsec_clock<boost::posix_time::ptime> microsec_clock;
39
40}
41}
42
43#ifdef _WIN32
44#ifdef BOOST_INTERPROCESS_WIN32_LEAN_AND_MEAN
45#undef WIN32_LEAN_AND_MEAN
46#undef BOOST_INTERPROCESS_WIN32_LEAN_AND_MEAN
47#endif //#ifdef BOOST_INTERPROCESS_WIN32_LEAN_AND_MEAN
48#endif //#ifdef _WIN32
49
50#endif //#ifndef BOOST_INTERPROCESS_POSIX_TIMES_WRK_HPP
51