Commit 48aa2dbe authored by Bruce Momjian's avatar Bruce Momjian

MIN() -> Min, fixes compile problem.

parent 71d641cf
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * 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 * HISTORY
* AUTHOR DATE MAJOR EVENT * AUTHOR DATE MAJOR EVENT
...@@ -88,7 +88,7 @@ pprint(void *obj) ...@@ -88,7 +88,7 @@ pprint(void *obj)
if (indentLev > 0) if (indentLev > 0)
{ {
indentLev--; indentLev--;
indentDist = MIN(indentLev * INDENTSTOP, MAXINDENT); indentDist = Min(indentLev * INDENTSTOP, MAXINDENT);
} }
j = indentDist - 1; j = indentDist - 1;
/* j will equal indentDist on next loop iteration */ /* j will equal indentDist on next loop iteration */
...@@ -108,7 +108,7 @@ pprint(void *obj) ...@@ -108,7 +108,7 @@ pprint(void *obj)
} }
/* indent */ /* indent */
indentLev++; indentLev++;
indentDist = MIN(indentLev * INDENTSTOP, MAXINDENT); indentDist = Min(indentLev * INDENTSTOP, MAXINDENT);
for (j = 0; j < indentDist; j++) for (j = 0; j < indentDist; j++)
line[j] = ' '; line[j] = ' ';
line[j] = s[i]; line[j] = s[i];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment