aboutsummaryrefslogtreecommitdiff
path: root/src/qt/qtipcserver.cpp
diff options
context:
space:
mode:
authorLuke Dashjr <[email protected]>2012-08-24 01:47:02 +0000
committerLuke Dashjr <[email protected]>2012-08-27 00:49:23 +0000
commit18376965808351aaecb053b503898c629a5f3953 (patch)
tree9d023dcd0fc20563f3e564abdfc50bd562ede312 /src/qt/qtipcserver.cpp
parentAbstract all IPC communication to qtipcserver (diff)
downloaddiscoin-18376965808351aaecb053b503898c629a5f3953.tar.xz
discoin-18376965808351aaecb053b503898c629a5f3953.zip
Bugfix: Move boost::interprocess Win32 workaround to Bitcoin-Qt sources, rather than hacking boost in gitian
Diffstat (limited to 'src/qt/qtipcserver.cpp')
-rw-r--r--src/qt/qtipcserver.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qt/qtipcserver.cpp b/src/qt/qtipcserver.cpp
index c6f9494bc..0ce9ec814 100644
--- a/src/qt/qtipcserver.cpp
+++ b/src/qt/qtipcserver.cpp
@@ -2,6 +2,12 @@
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
+#include <boost/version.hpp>
+#if defined(WIN32) && BOOST_VERSION == 104900
+#define BOOST_INTERPROCESS_HAS_WINDOWS_KERNEL_BOOTTIME
+#define BOOST_INTERPROCESS_HAS_KERNEL_BOOTTIME
+#endif
+
#include "qtipcserver.h"
#include "guiconstants.h"
#include "ui_interface.h"