Skip to content

Commit 48aa2db

Browse files
committed
MIN() -> Min, fixes compile problem.
1 parent 71d641c commit 48aa2db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/nodes/print.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/nodes/print.c,v 1.50 2001/12/19 22:35:35 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/nodes/print.c,v 1.51 2001/12/20 02:39:26 momjian Exp $
1212
*
1313
* HISTORY
1414
* AUTHOR DATE MAJOR EVENT
@@ -88,7 +88,7 @@ pprint(void *obj)
8888
if (indentLev > 0)
8989
{
9090
indentLev--;
91-
indentDist = MIN(indentLev * INDENTSTOP, MAXINDENT);
91+
indentDist = Min(indentLev * INDENTSTOP, MAXINDENT);
9292
}
9393
j = indentDist - 1;
9494
/* j will equal indentDist on next loop iteration */
@@ -108,7 +108,7 @@ pprint(void *obj)
108108
}
109109
/* indent */
110110
indentLev++;
111-
indentDist = MIN(indentLev * INDENTSTOP, MAXINDENT);
111+
indentDist = Min(indentLev * INDENTSTOP, MAXINDENT);
112112
for (j = 0; j < indentDist; j++)
113113
line[j] = ' ';
114114
line[j] = s[i];

0 commit comments

Comments
 (0)