aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2012-08-24 01:47:02 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2012-08-27 00:49:23 +0000
commit18376965808351aaecb053b503898c629a5f3953 (patch)
tree9d023dcd0fc20563f3e564abdfc50bd562ede312 /src/qt
parentbc8d8323354d80cce061d3219d99850adea6a0b4 (diff)
downloadbitcoin-18376965808351aaecb053b503898c629a5f3953.tar.xz
Bugfix: Move boost::interprocess Win32 workaround to Bitcoin-Qt sources, rather than hacking boost in gitian
Diffstat (limited to 'src/qt')
-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 c6f9494bc1..0ce9ec8147 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"