From 34d07b78670134d43cf5fcf094404a3df9255602 Mon Sep 17 00:00:00 2001 From: Felix Lee Date: Tue, 23 Sep 1997 18:08:09 +0000 Subject: [PATCH] * sim-events.c (SIM_EVENTS_POLL_RATE): poll more often than once an hour. * sim-n-core.h (WITH_XOR_ENDIAN): MSVC barfs on if (0) { 1 % 0; } * sim-core.c (sim_core_xor_write_buffer): WITH_XOR_ENDIAN + 1. (SIGBUS) define for Windows. * sim-trace.c (trace_printf,debug_printf): added ALMOST_STDC. * sim-resume.c: define SIGTRAP for windows. * sim-xcat.h: use token pasting if ALMOST_STDC. --- sim/common/ChangeLog | 12 ++++++++++++ sim/common/sim-xcat.h | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 4f2bd14a8e0..ad8f146f977 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,15 @@ +Tue Sep 23 00:26:39 1997 Felix Lee + + * sim-events.c (SIM_EVENTS_POLL_RATE): poll more often than once + an hour. + * sim-n-core.h (WITH_XOR_ENDIAN): MSVC barfs on + if (0) { 1 % 0; } + * sim-core.c (sim_core_xor_write_buffer): WITH_XOR_ENDIAN + 1. + (SIGBUS) define for Windows. + * sim-trace.c (trace_printf,debug_printf): added ALMOST_STDC. + * sim-resume.c: define SIGTRAP for windows. + * sim-xcat.h: use token pasting if ALMOST_STDC. + Tue Sep 23 11:04:38 1997 Andrew Cagney * Make-common.in (SIM_SCACHE, SIM_DEFAULT_MODEL): Assign diff --git a/sim/common/sim-xcat.h b/sim/common/sim-xcat.h index 7c3dd16f24d..559a2acfe41 100644 --- a/sim/common/sim-xcat.h +++ b/sim/common/sim-xcat.h @@ -24,7 +24,7 @@ #ifndef _SIM_XCAT_H_ #define _SIM_XCAT_H_ -#ifdef __STDC__ +#if defined __STDC__ || defined ALMOST_STDC #define CONCAT2(a,b) a##b #define CONCAT3(a,b,c) a##b##c #define CONCAT4(a,b,c,d) a##b##c##d -- 2.30.2