From 0c4aceff42d5c2e4ad337b68ca8e454c9f7c8f69 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Tue, 1 Oct 2024 16:15:04 +0200 Subject: [PATCH] Fix struct to enable compiling with XSPICE enabled. --- src/spicelib/devices/relmodel/relmodelinit.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/spicelib/devices/relmodel/relmodelinit.c b/src/spicelib/devices/relmodel/relmodelinit.c index 01e43ed2a..76f939d40 100644 --- a/src/spicelib/devices/relmodel/relmodelinit.c +++ b/src/spicelib/devices/relmodel/relmodelinit.c @@ -26,6 +26,21 @@ SPICEdev RELMODELinfo = { &RELMODELmPTSize, RELMODELmPTable, +#ifdef XSPICE + /*---- Fixed by SDB 5.2.2003 to enable XSPICE/tclspice integration -----*/ + NULL, /* This is a SPICE device, it has no MIF info data */ + + 0, /* This is a SPICE device, it has no MIF info data */ + NULL, /* This is a SPICE device, it has no MIF info data */ + + 0, /* This is a SPICE device, it has no MIF info data */ + NULL, /* This is a SPICE device, it has no MIF info data */ + + 0, /* This is a SPICE device, it has no MIF info data */ + NULL, /* This is a SPICE device, it has no MIF info data */ + /*--------------------------- End of SDB fix -------------------------*/ +#endif + DEV_DEFAULT },