From 2f010e6e4b21d4b02912b1b993f33d3d227096c7 Mon Sep 17 00:00:00 2001 From: "Philipp A. Hartmann" Date: Mon, 30 Mar 2015 22:37:24 +0200 Subject: [PATCH] document.h: include , iff RAPIDJSON_HAS_STDSTRING==1 Reported-by: Janusz Chorko (@yachoor) See: https://github.com/miloyip/rapidjson/commit/c1c9ba7c#commitcomment-10434694 --- include/rapidjson/document.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/rapidjson/document.h b/include/rapidjson/document.h index 85e2567..b0c0cdc 100644 --- a/include/rapidjson/document.h +++ b/include/rapidjson/document.h @@ -55,6 +55,9 @@ RAPIDJSON_DIAG_OFF(effc++) \hideinitializer */ +#endif // !defined(RAPIDJSON_HAS_STDSTRING) + +#if RAPIDJSON_HAS_STDSTRING #include #endif // RAPIDJSON_HAS_STDSTRING