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
This commit is contained in:
pommicket 2022-02-17 21:33:21 -05:00
parent e94266df3d
commit c42c5d94b8
4 changed files with 15 additions and 8 deletions

View file

@ -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);
}