mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 03:14:34 +01:00
json: Actually include in build.
This commit is contained in:
1 parent
dfef902cdb
commit
fb876e78c0
2 files changed
+4
-5
No files matched your search
+2
-4
@@ -919,10 +919,6 @@ add_library(native STATIC
|
||||
ext/native/base/timeutil.h
|
||||
ext/native/data/compression.cpp
|
||||
ext/native/data/compression.h
|
||||
ext/native/ext/vjson/json.cpp
|
||||
ext/native/ext/vjson/json.h
|
||||
ext/native/ext/vjson/block_allocator.cpp
|
||||
ext/native/ext/vjson/block_allocator.h
|
||||
ext/native/file/chunk_file.cpp
|
||||
ext/native/file/chunk_file.h
|
||||
ext/native/file/fd_util.cpp
|
||||
@@ -976,6 +972,8 @@ add_library(native STATIC
|
||||
ext/native/input/keycodes.h
|
||||
ext/native/input/input_state.h
|
||||
ext/native/input/input_state.cpp
|
||||
ext/native/json/json_writer.h
|
||||
ext/native/json/json_writer.cpp
|
||||
ext/native/math/fast/fast_math.c
|
||||
ext/native/math/fast/fast_matrix.c
|
||||
ext/native/math/fast/fast_matrix_neon.S
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include <iomanip>
|
||||
#include <cstring>
|
||||
#include "json/json_writer.h"
|
||||
|
||||
JsonWriter::JsonWriter(int flags) {
|
||||
@@ -49,7 +50,7 @@ const char *JsonWriter::comma() const {
|
||||
if (stack_.back().first) {
|
||||
return "";
|
||||
} else {
|
||||
return ",\n";
|
||||
return pretty_ ? ",\n" : ",";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user