Skip to content

Commit 53f5671

Browse files
author
Jeff McBride
committed
Add JSON_IS_AMALGAMATION guards around config.h include
1 parent c4103ab commit 53f5671

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib_json/json_tool.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
#ifndef LIB_JSONCPP_JSON_TOOL_H_INCLUDED
77
#define LIB_JSONCPP_JSON_TOOL_H_INCLUDED
88

9+
#ifndef JSON_IS_AMALGAMATION
910
#include <json/config.h>
11+
#endif
1012

1113
// Also support old flag NO_LOCALE_SUPPORT
1214
#ifdef NO_LOCALE_SUPPORT

0 commit comments

Comments
 (0)