aboutsummaryrefslogtreecommitdiff
path: root/sim/tic80/sim-main.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/tic80/sim-main.h')
-rw-r--r--sim/tic80/sim-main.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sim/tic80/sim-main.h b/sim/tic80/sim-main.h
index 4387227..8b4c930 100644
--- a/sim/tic80/sim-main.h
+++ b/sim/tic80/sim-main.h
@@ -71,6 +71,10 @@ extern void engine_init
#endif
#ifndef HAVE_KILL
-#define kill() (errno = EINVAL, -1)
+#define kill(sig, pid) (errno = EINVAL, -1)
#endif
#endif
+
+#ifndef SIGTRAP
+# define SIGTRAP 5
+#endif