mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 18:02:52 +02:00
configuration: #ifdef CIF_MODULE
Enclosed symbols only seem available with when this ifdef.
This commit is contained in:
committed by
R. Timothy Edwards
parent
22c074537d
commit
bfefc7196e
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user