1 //////////////////////////////////////////////////////////////////////////////
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)
7 // See http://www.boost.org/libs/interprocess for documentation.
9 //////////////////////////////////////////////////////////////////////////////
11 #ifndef BOOST_INTERPROCESS_PTIME_WRK_HPP
12 #define BOOST_INTERPROCESS_PTIME_WRK_HPP
14 //workaround to avoid winsock redefines when using date-time
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
23 #include <boost/date_time/posix_time/ptime.hpp>
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
32 #endif //#ifndef BOOST_INTERPROCESS_PTIME_WRK_HPP