mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-24 06:11:11 -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 <csignal>
|
||||
#include <iomanip>
|
||||
|
||||
#ifdef __ANDROID__
|
||||
# include <QAndroidService>
|
||||
@ -234,8 +235,11 @@ int main(int argc, char* argv[])
|
||||
|
||||
return app.exec();
|
||||
#else
|
||||
|
||||
#ifdef RS_JSONAPI
|
||||
if(jsonApiServer && !webui_pass1.empty())
|
||||
jsonApiServer->authorizeToken("webui:"+webui_pass1);
|
||||
#endif
|
||||
|
||||
std::atomic<bool> keepRunning(true);
|
||||
rsControl->setShutdownCallback([&](int){keepRunning = false;});
|
||||
|
Loading…
Reference in New Issue
Block a user