mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-11 02:25:34 -04:00
Fix wrong rapidjson include on Appveyor
This commit is contained in:
parent
516b5e7a83
commit
3bb42ca799
5 changed files with 7 additions and 25 deletions
|
@ -19,19 +19,12 @@
|
|||
* *
|
||||
*******************************************************************************/
|
||||
|
||||
#include <rapidjson/writer.h>
|
||||
#include <rapidjson/stringbuffer.h>
|
||||
#include <rapidjson/prettywriter.h>
|
||||
|
||||
#include "util/rsjson.h"
|
||||
|
||||
#ifdef HAS_RAPIDJSON
|
||||
# include <rapidjson/writer.h>
|
||||
# include <rapidjson/stringbuffer.h>
|
||||
# include <rapidjson/prettywriter.h>
|
||||
#else
|
||||
# include <rapid_json/writer.h>
|
||||
# include <rapid_json/stringbuffer.h>
|
||||
# include <rapid_json/prettywriter.h>
|
||||
#endif // HAS_RAPIDJSON
|
||||
|
||||
|
||||
inline int getJsonManipulatorStatePosition()
|
||||
{
|
||||
static int p = std::ios_base::xalloc();
|
||||
|
|
|
@ -21,12 +21,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#ifdef HAS_RAPIDJSON
|
||||
# include <rapidjson/document.h>
|
||||
#else
|
||||
# include <rapid_json/document.h>
|
||||
#endif // HAS_RAPIDJSON
|
||||
#include <rapidjson/document.h>
|
||||
|
||||
/**
|
||||
* Use this type for JSON documents representations in RetroShare code
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue