]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/boost/interprocess/detail/ptime_wrk.hpp
buildsys: change download over to reef release
[ceph.git] / ceph / src / boost / boost / interprocess / detail / ptime_wrk.hpp
CommitLineData
7c673cae
FG
1//////////////////////////////////////////////////////////////////////////////
2//
3// (C) Copyright Ion Gaztanaga 2006-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_PTIME_WRK_HPP
12#define BOOST_INTERPROCESS_PTIME_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/posix_time/ptime.hpp>
32
33#ifdef _WIN32
34#ifdef BOOST_INTERPROCESS_WIN32_LEAN_AND_MEAN
35#undef WIN32_LEAN_AND_MEAN
36#undef BOOST_INTERPROCESS_WIN32_LEAN_AND_MEAN
37#endif //#ifdef BOOST_INTERPROCESS_WIN32_LEAN_AND_MEAN
38#endif //#ifdef _WIN32
39
40#endif //#ifndef BOOST_INTERPROCESS_PTIME_WRK_HPP
41