build: finish cross-platform release tooling
This commit is contained in:
Vendored
+5
-2
@@ -89,8 +89,11 @@ typedef struct {
|
||||
const unsigned char *json;
|
||||
size_t position;
|
||||
} error;
|
||||
/* cst-agent: per thread, parses run concurrently (sub-agents, MCP) */
|
||||
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
||||
/* cst-agent: per thread, parses run concurrently (sub-agents, MCP).
|
||||
* tcc has no thread-local storage; cst-agent never reads cJSON_GetErrorPtr. */
|
||||
#if defined(__TINYC__)
|
||||
static error global_error = { NULL, 0 };
|
||||
#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
||||
static _Thread_local error global_error = { NULL, 0 };
|
||||
#elif defined(__GNUC__)
|
||||
static __thread error global_error = { NULL, 0 };
|
||||
|
||||
Reference in New Issue
Block a user