Inlude code into #ifdef RFSPICE ... #endif
to allow compiling without pre-processor flag RFSPICE.
This commit is contained in:
parent
909fbc8988
commit
4e1ae255f6
|
|
@ -15,6 +15,8 @@ Author: 1985 Thomas L. Quarles
|
|||
#include "ngspice/ifsim.h"
|
||||
#include "vsrc/vsrcdefs.h"
|
||||
|
||||
#ifdef RFSPICE
|
||||
|
||||
unsigned int CKTmatrixIndex(CKTcircuit* ckt, unsigned int source, unsigned int dest)
|
||||
{
|
||||
return source * ckt->CKTportCount + dest;
|
||||
|
|
@ -106,3 +108,4 @@ CKTspDump(CKTcircuit *ckt, double freq, runDesc *plot)
|
|||
FREE(data);
|
||||
return(OK);
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ Author: 1985 Thomas L. Quarles
|
|||
#include "ngspice/spdefs.h"
|
||||
#include "ngspice/cktdefs.h"
|
||||
|
||||
#ifdef RFSPICE
|
||||
|
||||
/* ARGSUSED */
|
||||
int
|
||||
|
|
@ -70,4 +71,4 @@ SPaskQuest(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value)
|
|||
}
|
||||
return(OK);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@ Author: 1985 Thomas L. Quarles
|
|||
|
||||
#include "analysis.h"
|
||||
|
||||
#ifdef RFSPICE
|
||||
|
||||
/* ARGSUSED */
|
||||
int
|
||||
SPsetParm(CKTcircuit *ckt, JOB *anal, int which, IFvalue *value)
|
||||
|
|
@ -112,3 +114,4 @@ SPICEanalysis SPinfo = {
|
|||
NULL,
|
||||
SPan
|
||||
};
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue