From dbeec768398a3b8e1453d05a19ca9cc36f364315 Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Fri, 20 Dec 1996 19:05:28 +0000 Subject: [PATCH] * support.h: Use _WIN32 instead of __WIN32__. Also add defs for SIGTRAP and SIGQUIT for _WIN32. --- sim/mips/ChangeLog | 5 +++++ sim/mips/support.h | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 6b76eb98405..53b65cb2acb 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,8 @@ +Fri Dec 20 11:04:05 1996 Stu Grossman (grossman@critters.cygnus.com) + + * support.h: Use _WIN32 instead of __WIN32__. Also add defs for + SIGTRAP and SIGQUIT for _WIN32. + Thu Dec 19 14:07:27 1996 Ian Lance Taylor * gencode.c (build_instruction) [MUL]: Cast operands to word64, to diff --git a/sim/mips/support.h b/sim/mips/support.h index 11f285c3724..f921e624358 100644 --- a/sim/mips/support.h +++ b/sim/mips/support.h @@ -30,9 +30,11 @@ architectures if desired. */ /* Control via a build boolean for the moment */ -#if defined(__GNUC__) || defined(__WIN32__) +#if defined(__GNUC__) || defined(_WIN32) -#ifdef __WIN32__ +#ifdef _WIN32 +#define SIGTRAP 5 +#define SIGQUIT 3 typedef signed __int64 word64; typedef unsigned __int64 uword64; #else -- 2.30.2