summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2008-04-14 15:15:18 +0000
committerDaniel Jacobowitz <drow@false.org>2008-04-14 15:15:18 +0000
commita4e64307fa00fe1c5f16e1b279fdccb4b20c19dc (patch)
tree1048ae18b4f5147b1dc7448ee061c64c40dd6569 /sim
parente3bc4218faa897ec69dbdc477f89d1c56360a8a5 (diff)
downloadbinutils-a4e64307fa00fe1c5f16e1b279fdccb4b20c19dc.tar.gz
binutils-a4e64307fa00fe1c5f16e1b279fdccb4b20c19dc.tar.bz2
binutils-a4e64307fa00fe1c5f16e1b279fdccb4b20c19dc.zip
2008-04-14 Hans Kester <kester.hans@gmail.com>
* sim-signal.c: Define missing signals for _WIN32.
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/sim-signal.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index b929d371316..de70dfe33ee 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,7 @@
+2008-04-14 Hans Kester <kester.hans@gmail.com>
+
+ * sim-signal.c: Define missing signals for _WIN32.
+
2008-02-12 M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com>
* gennltvals.sh: Add cr16.
diff --git a/sim/common/sim-signal.c b/sim/common/sim-signal.c
index 757fdf23cf7..9ff56eb5d28 100644
--- a/sim/common/sim-signal.c
+++ b/sim/common/sim-signal.c
@@ -26,7 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
to not think the process has died (so it can be debugged at the point of
failure). */
-#ifdef _MSC_VER
+#ifdef _WIN32
#ifndef SIGTRAP
#define SIGTRAP 5
#endif