Merge pull request #322 from miloyip/issue321_includerapidjson

Include rapidjson.h in error/error.h and internal/*.h
This commit is contained in:
Milo Yip 2015-04-28 11:03:01 +08:00
commit 0be627430d
7 changed files with 13 additions and 3 deletions

View File

@ -4,6 +4,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
* Include rapidjson.h for all internal/error headers.
## [1.0.1] - 2015-04-25
### Added

View File

@ -15,6 +15,8 @@
#ifndef RAPIDJSON_ERROR_ERROR_H__
#define RAPIDJSON_ERROR_ERROR_H__
#include "../rapidjson.h"
/*! \file error.h */
/*! \defgroup RAPIDJSON_ERRORS RapidJSON error handling */

View File

@ -19,6 +19,8 @@
#ifndef RAPIDJSON_DIYFP_H_
#define RAPIDJSON_DIYFP_H_
#include "../rapidjson.h"
#if defined(_MSC_VER) && defined(_M_AMD64)
#include <intrin.h>
#pragma intrinsic(_BitScanReverse64)

View File

@ -15,9 +15,7 @@
#ifndef RAPIDJSON_INTERNAL_META_H_
#define RAPIDJSON_INTERNAL_META_H_
#ifndef RAPIDJSON_RAPIDJSON_H_
#error <rapidjson.h> not yet included. Do not include this file directly.
#endif
#include "../rapidjson.h"
#ifdef __GNUC__
RAPIDJSON_DIAG_PUSH

View File

@ -15,6 +15,8 @@
#ifndef RAPIDJSON_POW10_
#define RAPIDJSON_POW10_
#include "../rapidjson.h"
RAPIDJSON_NAMESPACE_BEGIN
namespace internal {

View File

@ -15,6 +15,8 @@
#ifndef RAPIDJSON_INTERNAL_STACK_H_
#define RAPIDJSON_INTERNAL_STACK_H_
#include "../rapidjson.h"
RAPIDJSON_NAMESPACE_BEGIN
namespace internal {

View File

@ -15,6 +15,8 @@
#ifndef RAPIDJSON_INTERNAL_STRFUNC_H_
#define RAPIDJSON_INTERNAL_STRFUNC_H_
#include "../rapidjson.h"
RAPIDJSON_NAMESPACE_BEGIN
namespace internal {