Skip to content

Commit d049e71

Browse files
committed
jsmn: Set JSMN_STATIC so that there are no clashes with other instances of jsmn
1 parent b860b0e commit d049e71

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/json_parser.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include <stdlib.h>
2020
#define JSMN_PARENT_LINKS
2121
#define JSMN_STRICT
22+
#define JSMN_STATIC
2223
#include <jsmn/jsmn.h>
2324
#include <json_parser.h>
2425

0 commit comments

Comments
 (0)