summaryrefslogtreecommitdiff
path: root/boost/interprocess/detail/ptime_wrk.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/interprocess/detail/ptime_wrk.hpp')
-rw-r--r--boost/interprocess/detail/ptime_wrk.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/boost/interprocess/detail/ptime_wrk.hpp b/boost/interprocess/detail/ptime_wrk.hpp
index 8cda3a445d..87f05e25c2 100644
--- a/boost/interprocess/detail/ptime_wrk.hpp
+++ b/boost/interprocess/detail/ptime_wrk.hpp
@@ -1,6 +1,6 @@
//////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Ion Gaztanaga 2006. Distributed under the Boost
+// (C) Copyright Ion Gaztanaga 2006-2012. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
@@ -11,6 +11,10 @@
#ifndef BOOST_INTERPROCESS_PTIME_WRK_HPP
#define BOOST_INTERPROCESS_PTIME_WRK_HPP
+#if defined(_MSC_VER)
+# pragma once
+#endif
+
//workaround to avoid winsock redefines when using date-time
#ifdef _WIN32