Replace boost::variant with std::variant
[novacoin.git] / src / qt / qtipcserver.cpp
index c446793..ed4a38f 100644 (file)
@@ -10,7 +10,7 @@
 
 #include "qtipcserver.h"
 #include "guiconstants.h"
-#include "ui_interface.h"
+#include "interface.h"
 #include "util.h"
 
 #include <boost/algorithm/string/predicate.hpp>
@@ -28,7 +28,7 @@ using namespace boost;
 using namespace boost::interprocess;
 using namespace boost::posix_time;
 
-#if defined MAC_OSX || defined __FreeBSD__
+#if defined __APPLE__ || defined __FreeBSD__
 // URI handling not implemented on OSX yet
 
 void ipcScanRelay(int argc, char *argv[]) { }
@@ -100,7 +100,7 @@ static void ipcThread2(void* pArg)
     size_t nSize = 0;
     unsigned int nPriority = 0;
 
-    while (true)
+    for ( ; ; )
     {
         ptime d = boost::posix_time::microsec_clock::universal_time() + millisec(100);
         if (mq->timed_receive(&buffer, sizeof(buffer), nSize, nPriority, d))