public inbox for
 help / color / mirror / Atom feed
From: Mike Frysinger <>
Subject: [PATCH 2/2] sim: v850: reduce extra header inclusion to igen files
Date: Wed, 18 Jan 2023 19:34:29 -0500	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Limit these extra header includes to only when specific igen files
include us until we can move the includes to the igen fils directly.
 sim/v850/sim-main.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sim/v850/sim-main.h b/sim/v850/sim-main.h
index b17536019044..eefe72cf52f4 100644
--- a/sim/v850/sim-main.h
+++ b/sim/v850/sim-main.h
@@ -8,7 +8,11 @@
  * TODO: Move these includes to the igen files that need them.
  * This requires extending the igen syntax to support header includes.
+#if defined(SEMANTICS_C) || defined(SUPPORT_C)
 #include "sim-signal.h"
+#if defined(ENGINE_C) || defined(IDECODE_C) || defined(SEMANTICS_C)
 #include "v850-sim.h"

      reply	other threads:[~2023-01-19  0:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-19  0:34 [PATCH 1/2] sim: v850: drop redundant define Mike Frysinger
2023-01-19  0:34 ` Mike Frysinger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).