mirror of
https://github.com/RetroShare/RetroShare.git
synced 2026-09-12 19:50:17 +05:00
guard TheWire code in RetroShareLink.cpp so that RS can be compiled without TheWire
This commit is contained in:
parent
fcc5ba410c
commit
19619ecb37
@ -33,7 +33,9 @@
|
||||
#include "FileTransfer/SearchDialog.h"
|
||||
#include "gxschannels/GxsChannelDialog.h"
|
||||
#include "gxsforums/GxsForumsDialog.h"
|
||||
#ifdef RS_USE_WIRE
|
||||
#include "TheWire/WireDialog.h"
|
||||
#endif
|
||||
#include "msgs/MessageComposer.h"
|
||||
#include "Posted/PostedDialog.h"
|
||||
#include "util/misc.h"
|
||||
@ -1527,6 +1529,7 @@ static void processList(const QStringList &list, const QString &textSingular, co
|
||||
|
||||
case TYPE_WIRE:
|
||||
{
|
||||
#ifdef RS_USE_WIRE
|
||||
#ifdef DEBUG_RSLINK
|
||||
std::cerr << " RetroShareLink::process WireRequest : name : " << link.name().toStdString() << ". id : " << link.hash().toStdString() << ". msgId : " << link.msgId().toStdString() << std::endl;
|
||||
#endif
|
||||
@ -1550,6 +1553,7 @@ static void processList(const QStringList &list, const QString &textSingular, co
|
||||
wireMsgUnknown.append(link.name());
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user