mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed compilation without RS_JSONAPI
This commit is contained in:
parent
ccd8c7186d
commit
ad443ecaa4
@ -118,8 +118,8 @@ RsConfigOptions::RsConfigOptions()
|
|||||||
:
|
:
|
||||||
#ifdef RS_JSONAPI
|
#ifdef RS_JSONAPI
|
||||||
jsonApiPort(JsonApiServer::DEFAULT_PORT),
|
jsonApiPort(JsonApiServer::DEFAULT_PORT),
|
||||||
#endif
|
|
||||||
jsonApiBindAddress("127.0.0.1"),
|
jsonApiBindAddress("127.0.0.1"),
|
||||||
|
#endif
|
||||||
autoLogin(false),
|
autoLogin(false),
|
||||||
forcedPort(0),
|
forcedPort(0),
|
||||||
udpListenerOnly(false),
|
udpListenerOnly(false),
|
||||||
@ -131,7 +131,13 @@ RsConfigOptions::RsConfigOptions()
|
|||||||
|
|
||||||
struct RsInitConfig
|
struct RsInitConfig
|
||||||
{
|
{
|
||||||
RsInitConfig() : jsonApiPort(JsonApiServer::DEFAULT_PORT), jsonApiBindAddress("127.0.0.1") {}
|
RsInitConfig()
|
||||||
|
:
|
||||||
|
#ifdef RS_JSONAPI
|
||||||
|
jsonApiPort(JsonApiServer::DEFAULT_PORT),
|
||||||
|
jsonApiBindAddress("127.0.0.1")
|
||||||
|
#endif
|
||||||
|
{}
|
||||||
|
|
||||||
RsFileHash main_executable_hash;
|
RsFileHash main_executable_hash;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user