summaryrefslogtreecommitdiff
path: root/05/tcc-0.9.25/stdc_common.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-02-17 21:33:21 -0500
committerpommicket <pommicket@gmail.com>2022-02-17 21:33:21 -0500
commitc42c5d94b8944e19cd17a5b540e4c70013c62b92 (patch)
tree284829db6fc30945f7a011db0e9f6df51d26c793 /05/tcc-0.9.25/stdc_common.h
parente94266df3dba36f2998fd85c6aa269f3e6351225 (diff)
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
Diffstat (limited to '05/tcc-0.9.25/stdc_common.h')
-rw-r--r--05/tcc-0.9.25/stdc_common.h1
1 files changed, 1 insertions, 0 deletions
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);
}