diff options
| author | Matt Corallo <[email protected]> | 2012-03-25 16:17:39 -0400 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2012-06-15 17:19:09 +0200 |
| commit | 1d42878adb5809218b1f329221ef46121674cb1a (patch) | |
| tree | bcb8a3e781b882061f9c312e999011894402e251 /src | |
| parent | Upgrade to Boost 1.49 on Win32 (diff) | |
| download | discoin-1d42878adb5809218b1f329221ef46121674cb1a.tar.xz discoin-1d42878adb5809218b1f329221ef46121674cb1a.zip | |
Fix #956 the Boost 1.49 way.
Diffstat (limited to 'src')
| -rw-r--r-- | src/qt/qtipcserver.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qt/qtipcserver.cpp b/src/qt/qtipcserver.cpp index 3d7d90e90..2ffc20c2e 100644 --- a/src/qt/qtipcserver.cpp +++ b/src/qt/qtipcserver.cpp @@ -6,6 +6,11 @@ #include <boost/interprocess/ipc/message_queue.hpp> #include <boost/tokenizer.hpp> #include <boost/date_time/posix_time/posix_time.hpp> +#include <boost/version.hpp> + +#if defined(WIN32) && (!defined(BOOST_INTERPROCESS_HAS_WINDOWS_KERNEL_BOOTTIME) || !defined(BOOST_INTERPROCESS_HAS_KERNEL_BOOTTIME) || BOOST_VERSION < 104900) +#warning Compiling without BOOST_INTERPROCESS_HAS_WINDOWS_KERNEL_BOOTTIME and BOOST_INTERPROCESS_HAS_KERNEL_BOOTTIME uncommented in boost/interprocess/detail/tmp_dir_helpers.hpp or using a boost version before 1.49 may have unintended results see svn.boost.org/trac/boost/ticket/5392 +#endif #include "ui_interface.h" #include "qtipcserver.h" |