mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-28 08:07:31 -04:00
Moved #ifdef RS_WEBUI inside RS_JSONAPI ifdefs so that the webui files cannot be requested unless jsonapi files are compiled
This commit is contained in:
parent
50529654f8
commit
9a24af87a4
8 changed files with 32 additions and 17 deletions
|
@ -61,7 +61,6 @@
|
|||
#include "gxstunnel/p3gxstunnel.h"
|
||||
#include "retroshare/rsgxsdistsync.h"
|
||||
#include "file_sharing/p3filelists.h"
|
||||
#include "jsonapi/jsonapi.h"
|
||||
|
||||
#define ENABLE_GROUTER
|
||||
|
||||
|
@ -97,6 +96,10 @@ RsDht *rsDht = NULL ;
|
|||
|
||||
#ifdef RS_JSONAPI
|
||||
# include "jsonapi/jsonapi.h"
|
||||
#ifdef RS_WEBUI
|
||||
#include "jsonapi/jsonapi.h"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef RS_BROADCAST_DISCOVERY
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue