PageRenderTime 13ms CodeModel.GetById 11ms app.highlight 0ms RepoModel.GetById 2ms app.codeStats 0ms

/Src/Dependencies/Boost/boost/interprocess/detail/ptime_wrk.hpp

http://hadesmem.googlecode.com/
C++ Header | 33 lines | 16 code | 7 blank | 10 comment | 0 complexity | d633343ed6e4a62daeabae455329dab3 MD5 | raw file
 1//////////////////////////////////////////////////////////////////////////////
 2//
 3// (C) Copyright Ion Gaztanaga 2006. 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//workaround to avoid winsock redefines when using date-time
15
16#ifdef _WIN32
17#ifndef WIN32_LEAN_AND_MEAN
18#define WIN32_LEAN_AND_MEAN 
19#define BOOST_INTERPROCESS_WIN32_LEAN_AND_MEAN
20#endif   //#ifndef WIN32_LEAN_AND_MEAN
21#endif   //#ifdef _WIN32
22
23#include <boost/date_time/posix_time/ptime.hpp>
24
25#ifdef _WIN32
26#ifdef BOOST_INTERPROCESS_WIN32_LEAN_AND_MEAN
27#undef WIN32_LEAN_AND_MEAN
28#undef BOOST_INTERPROCESS_WIN32_LEAN_AND_MEAN
29#endif   //#ifdef BOOST_INTERPROCESS_WIN32_LEAN_AND_MEAN
30#endif   //#ifdef _WIN32
31
32#endif   //#ifndef BOOST_INTERPROCESS_PTIME_WRK_HPP
33