Skip to content

Commit c1db692

Browse files
wahjavaCarterLi
authored andcommitted
FFstrbuf: wrap yyjson.h include in conditional
1 parent aec2bfd commit c1db692

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/util/FFstrbuf.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@
99
#include <string.h>
1010
#include <stdlib.h>
1111
#include <assert.h>
12-
#include "3rdparty/yyjson/yyjson.h"
12+
13+
#ifdef FF_USE_SYSTEM_YYJSON
14+
#include <yyjson.h>
15+
#else
16+
#include "3rdparty/yyjson/yyjson.h"
17+
#endif
1318

1419
#ifdef _WIN32
1520
// #include <shlwapi.h>

0 commit comments

Comments
 (0)