Replace deprecated bcopy function, to allow
compiling with MINGW
This commit is contained in:
parent
9e1515cca6
commit
66f53d8f0d
|
|
@ -341,7 +341,7 @@ RELANanalysis (CKTcircuit *ckt,
|
|||
ckt->CKTmode = (ckt->CKTmode&MODEUIC) | MODETRAN | MODEINITTRAN;
|
||||
/* modeinittran set here */
|
||||
ckt->CKTag[0]=ckt->CKTag[1]=0;
|
||||
bcopy(ckt->CKTstate0, ckt->CKTstate1,
|
||||
memcpy(ckt->CKTstate1, ckt->CKTstate0,
|
||||
(size_t) ckt->CKTnumStates * sizeof(double));
|
||||
|
||||
#ifdef WANT_SENSE2
|
||||
|
|
|
|||
Loading…
Reference in New Issue