re-enable making old app nutmeg

This commit is contained in:
Holger Vogt 2022-12-08 09:26:15 +01:00
parent 23f72dd75c
commit d2833ac133
2 changed files with 10 additions and 1 deletions

View File

@ -265,7 +265,7 @@ FINDVEC_ALL_GEN(findvec_ally,
(d->v_flags & VF_PERMANENT) &&
(!cieq(d->v_name, pl->pl_scale->v_name)))
#ifdef XSPICE
#if defined (XSPICE) && defined (SIMULATOR) /* SIMULATOR: disable old app nutmeg */
/* special case for finding all event nodes and return them as linked vectors */
static struct dvec* findvec_alle(void) {
@ -316,6 +316,12 @@ static struct dvec* findvec_alle(void) {
}
#endif
#ifndef SIMULATOR
static struct dvec* findvec_alle(void) {
return NULL;
}
#endif
/* Find a permanent vector with the given name */
static struct dvec *find_permanent_vector_by_name(
NGHASHPTR pl_lookup_table, char *name)

View File

@ -478,6 +478,9 @@ EVTfindvec(char *node) {
return NULL;
}
void NIresetwarnmsg(void)
{}
#endif /* XSPICE */
#endif /* SIMULATOR */