From 69ec5e46afec658d2930370c6eb00b597fac301c Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Fri, 28 Feb 2020 19:44:32 +0100 Subject: [PATCH] re-enable making nutmeg --- src/frontend/runcoms2.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/frontend/runcoms2.c b/src/frontend/runcoms2.c index a275b3148..cb42e38ab 100644 --- a/src/frontend/runcoms2.c +++ b/src/frontend/runcoms2.c @@ -26,7 +26,10 @@ Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group #include "numparam/numpaif.h" #include "ngspice/inpdefs.h" + +#if defined(XSPICE) && defined(SIMULATOR) #include "ngspice/evtproto.h" +#endif extern void line_free_x(struct card *deck, bool recurse); extern INPmodel *modtab; @@ -238,8 +241,10 @@ com_remcirc(wordlist *wl) /* The next lines stem from com_rset */ INPkillMods(); - /* remove event queues */ +#if defined(XSPICE) && defined(SIMULATOR) + /* remove event queues, if XSPICE and not nutmeg */ EVTunsetup(ft_curckt->ci_ckt); +#endif if_cktfree(ft_curckt->ci_ckt, ft_curckt->ci_symtab); for (v = ft_curckt->ci_vars; v; v = next) {