- if (pcwidth>0 || bcwidth>0)
-
- /* Tcc relies on msvcrt.dll for printf, and
- * it does not support ANSI %llu syntax
- */
-#ifndef TCC
- printf(" %*llu %*llu (%ds)", pcwidth,
- align_uint64(&d->pcnt), bcwidth,
- align_uint64(&d->bcnt), d->expire);
-#else
- /*printf(" %*I64u %*I64u (%ds)", pcwidth,
- align_uint64(&d->pcnt), bcwidth,
- align_uint64(&d->bcnt), d->expire);*/
-
- //XXX workaround here, for multiple I64 on the same printf
- printf(" %*I64u",pcwidth,align_uint64(&d->pcnt));
- printf(" %*I64u",bcwidth,align_uint64(&d->bcnt));
- printf(" (%ds)",d->expire);
-#endif
+ if (pcwidth > 0 || bcwidth > 0) {
+ printf(" ");
+ pr_u64(&d->pcnt, pcwidth);
+ pr_u64(&d->bcnt, bcwidth);
+ printf("(%ds)", d->expire);
+ }