diff options
-rw-r--r-- | sim/mips/ChangeLog | 5 | ||||
-rw-r--r-- | sim/mips/support.h | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 6b76eb9..53b65cb 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 <ian@cygnus.com> * gencode.c (build_instruction) [MUL]: Cast operands to word64, to diff --git a/sim/mips/support.h b/sim/mips/support.h index 11f285c..f921e62 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 |