Compile only when RFSPICE is selected in config.h

This commit is contained in:
Holger Vogt 2022-03-30 15:54:35 +02:00
parent ed0580b914
commit 61797c9317
1 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,8 @@ Author: 1985 Thomas L. Quarles
* into the rawfile.
*/
#include "ngspice/ngspice.h"
#include "ngspice/smpdefs.h"
#include "ngspice/cktdefs.h"
@ -15,6 +17,8 @@ Author: 1985 Thomas L. Quarles
#include "ngspice/ifsim.h"
#include "vsrc/vsrcdefs.h"
#ifdef RFSPICE
extern CMat* eyem;
extern CMat* zref;
extern CMat* gn;
@ -214,3 +218,5 @@ CKTspDump(CKTcircuit *ckt, double freq, runDesc *plot, unsigned int doNoise)
FREE(data);
return(OK);
}
#endif