diff --git a/ChangeLog b/ChangeLog index b6bea8109..3ef061396 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-05-06 Holger Vogt + * src/frontend/outitf.c: suppress printing of "Reference value" into log-file + under Windows + 2008-05-03 Dietmar Warning * src/include/ngspice.h, src/main.c: srandom has a macro in ngspice.h as a central place - should be sufficient also under windows diff --git a/src/frontend/outitf.c b/src/frontend/outitf.c index 707604291..22cc00647 100644 --- a/src/frontend/outitf.c +++ b/src/frontend/outitf.c @@ -448,23 +448,26 @@ OUTpData(void *plotPtr, IFvalue *refValue, IFvalue *valuePtr) /* While we're looking at the reference value, print it to the screen every quarter of a second, to give some feedback without using too much CPU time */ - +#ifndef HAS_WINDOWS currclock = clock(); if ((currclock-lastclock)>(0.25*CLOCKS_PER_SEC)) { fprintf(stderr, " Reference value : % 12.5e\r", refValue->cValue.real); lastclock = currclock; } +#endif } else { /* And the same for a non-complex value */ fileAddRealValue(run->fp, run->binary, refValue->rValue); +#ifndef HAS_WINDOWS currclock = clock(); if ((currclock-lastclock)>(0.25*CLOCKS_PER_SEC)) { fprintf(stderr, " Reference value : % 12.5e\r", refValue->rValue); lastclock = currclock; } +#endif } } for (i = 0; i < run->numData; i++) {