simplify #ifdef nesting #4/4
This commit is contained in:
parent
2c33cd49b2
commit
503f5d5c26
|
|
@ -1265,18 +1265,7 @@ resume:
|
|||
}
|
||||
|
||||
/* gtri - end - wbk - Modify Breakpoint stuff */
|
||||
#else /* !XSPICE */
|
||||
|
||||
#ifdef CLUSTER
|
||||
if(!CLUsync(ckt->CKTtime,&ckt->CKTdelta,0)) {
|
||||
fprintf (stderr, "Sync error!\n");
|
||||
exit(0);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* XSPICE */
|
||||
|
||||
#ifdef XSPICE
|
||||
/* gtri - begin - wbk - Do event solution */
|
||||
|
||||
if(ckt->evt->counts.num_insts > 0) {
|
||||
|
|
@ -1319,6 +1308,15 @@ resume:
|
|||
} /* end if there are event instances */
|
||||
|
||||
/* gtri - end - wbk - Do event solution */
|
||||
#else
|
||||
|
||||
#ifdef CLUSTER
|
||||
if(!CLUsync(ckt->CKTtime,&ckt->CKTdelta,0)) {
|
||||
fprintf (stderr, "Sync error!\n");
|
||||
exit(0);
|
||||
}
|
||||
#endif /* CLUSTER */
|
||||
|
||||
#endif
|
||||
|
||||
/* What is that??? */
|
||||
|
|
|
|||
|
|
@ -622,18 +622,7 @@ resume:
|
|||
}
|
||||
|
||||
/* gtri - end - wbk - Modify Breakpoint stuff */
|
||||
#else /* !XSPICE */
|
||||
|
||||
#ifdef CLUSTER
|
||||
if(!CLUsync(ckt->CKTtime,&ckt->CKTdelta,0)) {
|
||||
printf("Sync error!\n");
|
||||
exit(0);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* XSPICE */
|
||||
|
||||
#ifdef XSPICE
|
||||
/* gtri - begin - wbk - Do event solution */
|
||||
|
||||
if(ckt->evt->counts.num_insts > 0) {
|
||||
|
|
@ -676,6 +665,15 @@ resume:
|
|||
} /* end if there are event instances */
|
||||
|
||||
/* gtri - end - wbk - Do event solution */
|
||||
#else
|
||||
|
||||
#ifdef CLUSTER
|
||||
if(!CLUsync(ckt->CKTtime,&ckt->CKTdelta,0)) {
|
||||
printf("Sync error!\n");
|
||||
exit(0);
|
||||
}
|
||||
#endif /* CLUSTER */
|
||||
|
||||
#endif
|
||||
for(i=5; i>=0; i--)
|
||||
ckt->CKTdeltaOld[i+1] = ckt->CKTdeltaOld[i];
|
||||
|
|
|
|||
Loading…
Reference in New Issue