From a1998f2f7ce4153d670e2e5cb5018366517cc1ca Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sun, 20 Aug 2023 16:20:03 +0100 Subject: Get things at least compiling under Linux Nothing really works yet, but at least test.h and fastspin are fixed and some of the issues with RTTI and libdl and stuff are maybe kind of sorted, subject to more testing later. The main issue now seems to be the cvar interface not quite lining up and crashing pretty much immediately. That'll probably take a lot more debugging to figure out, which likely still won't be a priority for quite a while. --- src/build/mkgamedata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/build/mkgamedata.c') diff --git a/src/build/mkgamedata.c b/src/build/mkgamedata.c index fdb2aef..d49eef5 100644 --- a/src/build/mkgamedata.c +++ b/src/build/mkgamedata.c @@ -121,7 +121,7 @@ static void kv_cb(enum kv_token type, const char *p, uint len, void *ctxt) { } state->curent = state->curent->parent; break; - case KV_VAL: case KV_VAL_QUOTED: + case KV_VAL: case KV_VAL_QUOTED:; char *s = malloc(len + 1); if (!s) die("couldn't allocate value string"); memcpy(s, p, len); s[len] = '\0'; -- cgit v1.2.3