From 3ddf8301f67f056ada0d9075526237606221949b Mon Sep 17 00:00:00 2001 From: Alvaro Barua Date: Thu, 18 Mar 2021 00:21:23 +0000 Subject: [PATCH] Added TINYGLTF_NO_INCLUDE_RAPIDJSON for consistency and because my project already used rapidjson/ --- tiny_gltf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tiny_gltf.h b/tiny_gltf.h index 2fd3e90..3ce808d 100644 --- a/tiny_gltf.h +++ b/tiny_gltf.h @@ -1538,6 +1538,7 @@ class TinyGLTF { #ifndef TINYGLTF_USE_RAPIDJSON #include "json.hpp" #else +#ifndef TINYGLTF_NO_INCLUDE_RAPIDJSON #include "document.h" #include "prettywriter.h" #include "rapidjson.h" @@ -1545,6 +1546,7 @@ class TinyGLTF { #include "writer.h" #endif #endif +#endif #ifdef TINYGLTF_ENABLE_DRACO #include "draco/compression/decode.h"