From c42c5d94b8944e19cd17a5b540e4c70013c62b92 Mon Sep 17 00:00:00 2001 From: pommicket Date: Thu, 17 Feb 2022 21:33:21 -0500 Subject: fixed += bug with non-char pointers tcc 0.9.25 can't compile musl (or any libc, probably). will probably need to write libc for tcc, then compile gcc or a later version of tcc with it --- 05/tcc-0.9.25/stdc_common.h | 1 + 1 file changed, 1 insertion(+) (limited to '05/tcc-0.9.25/stdc_common.h') diff --git a/05/tcc-0.9.25/stdc_common.h b/05/tcc-0.9.25/stdc_common.h index 1540f19..b9ffd9d 100644 --- a/05/tcc-0.9.25/stdc_common.h +++ b/05/tcc-0.9.25/stdc_common.h @@ -264,6 +264,7 @@ int wait4(int pid, int *status, int options, struct rusage *rusage) { #define SIGSEGV 11 #define SIGTERM 15 #define SIGBUS 7 +#define SIGTRAP 5 void abort(void) { kill(getpid(), SIGABRT); } -- cgit v1.2.3