MIN() -> Min, fixes compile problem.

This commit is contained in:
Bruce Momjian 2001-12-20 02:39:26 +00:00
parent 71d641cf15
commit 48aa2dbe61

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/nodes/print.c,v 1.50 2001/12/19 22:35:35 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/nodes/print.c,v 1.51 2001/12/20 02:39:26 momjian Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
@ -88,7 +88,7 @@ pprint(void *obj)
if (indentLev > 0)
{
indentLev--;
indentDist = MIN(indentLev * INDENTSTOP, MAXINDENT);
indentDist = Min(indentLev * INDENTSTOP, MAXINDENT);
}
j = indentDist - 1;
/* j will equal indentDist on next loop iteration */
@ -108,7 +108,7 @@ pprint(void *obj)
}
/* indent */
indentLev++;
indentDist = MIN(indentLev * INDENTSTOP, MAXINDENT);
indentDist = Min(indentLev * INDENTSTOP, MAXINDENT);
for (j = 0; j < indentDist; j++)
line[j] = ' ';
line[j] = s[i];