mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-16 10:29:00 +00:00
Fixed 100% CPU utilization problem on FreeBSD 9
This commit is contained in:
parent
747b688b54
commit
71f7ccf1ec
@ -148,7 +148,7 @@ static void handleRunawayException(std::exception *e)
|
||||
#ifndef BITCOIN_QT_TEST
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
#if !defined(MAC_OSX) && !defined(WIN32)
|
||||
#if !defined(MAC_OSX) && !defined(WIN32) && !defined(__FreeBSD__)
|
||||
// TODO: implement qtipcserver.cpp for Mac and Windows
|
||||
|
||||
// Do this early as we don't want to bother initializing if we are just calling IPC
|
||||
@ -275,7 +275,7 @@ int main(int argc, char *argv[])
|
||||
// Place this here as guiref has to be defined if we don't want to lose URIs
|
||||
ipcInit();
|
||||
|
||||
#if !defined(MAC_OSX) && !defined(WIN32)
|
||||
#if !defined(MAC_OSX) && !defined(WIN32) && !defined(__FreeBSD__)
|
||||
// TODO: implement qtipcserver.cpp for Mac and Windows
|
||||
|
||||
// Check for URI in argv
|
||||
|
||||
@ -45,7 +45,7 @@ void ipcThread(void* parg)
|
||||
|
||||
void ipcInit()
|
||||
{
|
||||
#ifdef MAC_OSX
|
||||
#if defined(MAC_OSX) || defined(__FreeBSD__)
|
||||
// TODO: implement bitcoin: URI handling the Mac Way
|
||||
return;
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user