mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-03 11:00:14 -05:00
attempt to fix compilation on windows
This commit is contained in:
parent
3a63ffaf5d
commit
63b56350ca
@ -29,6 +29,7 @@ CrashStackTrace gCrashStackTrace;
|
|||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <csignal>
|
#include <csignal>
|
||||||
|
#include <iomanip>
|
||||||
|
|
||||||
#ifdef __ANDROID__
|
#ifdef __ANDROID__
|
||||||
# include <QAndroidService>
|
# include <QAndroidService>
|
||||||
@ -234,8 +235,11 @@ int main(int argc, char* argv[])
|
|||||||
|
|
||||||
return app.exec();
|
return app.exec();
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
#ifdef RS_JSONAPI
|
||||||
if(jsonApiServer && !webui_pass1.empty())
|
if(jsonApiServer && !webui_pass1.empty())
|
||||||
jsonApiServer->authorizeToken("webui:"+webui_pass1);
|
jsonApiServer->authorizeToken("webui:"+webui_pass1);
|
||||||
|
#endif
|
||||||
|
|
||||||
std::atomic<bool> keepRunning(true);
|
std::atomic<bool> keepRunning(true);
|
||||||
rsControl->setShutdownCallback([&](int){keepRunning = false;});
|
rsControl->setShutdownCallback([&](int){keepRunning = false;});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user