* sim-main.h (kill): macro was missing args.
authorFelix Lee <flee@cygnus>
Wed, 17 Sep 1997 23:46:49 +0000 (23:46 +0000)
committerFelix Lee <flee@cygnus>
Wed, 17 Sep 1997 23:46:49 +0000 (23:46 +0000)
(SIGTRAP): define for MSVC.

sim/tic80/ChangeLog
sim/tic80/sim-main.h

index 5ed092166076b0720c5cb7aa6b506e07c3e2ff69..45ddcd9671b9b8f5d6d7b5ba2ec7621cf4567aef 100644 (file)
@@ -1,3 +1,8 @@
+Tue Sep 16 23:10:03 1997  Felix Lee  <flee@cygnus.com>
+
+       * sim-main.h (kill): macro was missing args.
+       (SIGTRAP): define for MSVC.
+
 Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * configure: Regenerated to track ../common/aclocal.m4 changes.
index 43872273fdfa73974e2f1b0fec3073fa6e39d59e..8b4c930491d469fcb568047889ead8cb3077e793 100644 (file)
@@ -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