configuration: #ifdef CIF_MODULE

Enclosed symbols only seem available with when this ifdef.
This commit is contained in:
Darryl L. Miles 2024-10-02 06:59:00 +01:00 committed by R. Timothy Edwards
parent 22c074537d
commit bfefc7196e
2 changed files with 8 additions and 1 deletions

View File

@ -78,6 +78,7 @@ void bpDumpRect(Rect *r)
fprintf(stderr,"%d",
r->r_ytop);
}
#ifdef CIF_MODULE
else
{
float oscale;
@ -93,6 +94,7 @@ void bpDumpRect(Rect *r)
fprintf(stderr,"%f",
oscale * (float)r->r_ytop);
}
#endif
}
/*
@ -170,6 +172,7 @@ static void bpBinArrayDump(BinArray *ba, int indent)
fprintf(stderr,"{dx %d} {dy %d} ",
dx,dy);
}
#ifdef CIF_MODULE
else
{
float oscale;
@ -182,6 +185,7 @@ static void bpBinArrayDump(BinArray *ba, int indent)
fprintf(stderr,"{dy %f} ",
(float)dy * oscale);
}
#endif
fprintf(stderr,"{dimX %d} {dimY %d} { bbox ",
dimX,
dimY);

View File

@ -1633,7 +1633,10 @@ dbTileScaleFunc(tile, scvals)
if (IsSplit(tile))
type = (SplitSide(tile)) ? SplitRightType(tile) : SplitLeftType(tile);
DBNMPaintPlane(scvals->ptarget, exact, &targetRect,
((scvals->doCIF) ? CIFPaintTable :
(
#ifdef CIF_MODULE
(scvals->doCIF) ? CIFPaintTable :
#endif
DBStdPaintTbl(type, scvals->pnum)),
(PaintUndoInfo *)NULL);
return 0;