mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 21:41:47 +08:00
sim: move sim-io.h to sim-assert.h
Since sim-endian.c doesn't actually use sim_io funcs, it's weird to include the sim-io.h header here. It's doing so only for the assert header. So lets relocate the include to the right place.
This commit is contained in:
@ -42,6 +42,7 @@ while (0)
|
||||
|
||||
#if !defined (SIM_ASSERT)
|
||||
#if defined (WITH_ASSERT)
|
||||
#include "sim-io.h"
|
||||
#define SIM_ASSERT(EXPRESSION) \
|
||||
do \
|
||||
{ \
|
||||
@ -65,6 +66,7 @@ while (0)
|
||||
|
||||
#if !defined (ASSERT)
|
||||
#if defined (WITH_ASSERT)
|
||||
#include "sim-io.h"
|
||||
#define ASSERT(EXPRESSION) \
|
||||
do \
|
||||
{ \
|
||||
|
Reference in New Issue
Block a user