File tree 1 file changed +4
-0
lines changed 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,9 @@ def amalgamate_source(source_top_dir=None,
65
65
header .add_text ("# define JSON_AMALGATED_H_INCLUDED" )
66
66
header .add_text ("/// If defined, indicates that the source file is amalgated" )
67
67
header .add_text ("/// to prevent private header inclusion." )
68
+ header .add_text ('#ifndef JSON_IS_AMALGAMATION' )
68
69
header .add_text ("#define JSON_IS_AMALGAMATION" )
70
+ header .add_text ('#endif' )
69
71
header .add_file ("include/json/version.h" )
70
72
header .add_file ("include/json/config.h" )
71
73
header .add_file ("include/json/forwards.h" )
@@ -92,7 +94,9 @@ def amalgamate_source(source_top_dir=None,
92
94
header .add_text ("# define JSON_FORWARD_AMALGATED_H_INCLUDED" )
93
95
header .add_text ("/// If defined, indicates that the source file is amalgated" )
94
96
header .add_text ("/// to prevent private header inclusion." )
97
+ header .add_text ('#ifndef JSON_IS_AMALGAMATION' )
95
98
header .add_text ("#define JSON_IS_AMALGAMATION" )
99
+ header .add_text ('#endif' )
96
100
header .add_file ("include/json/config.h" )
97
101
header .add_file ("include/json/forwards.h" )
98
102
header .add_text ("#endif //ifndef JSON_FORWARD_AMALGATED_H_INCLUDED" )
You can’t perform that action at this time.
0 commit comments