Re: warning: "min" redefined of qsort.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgresql(dot)org, "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: warning: "min" redefined of qsort.
Date: 2006-10-12 15:05:44
Message-ID: 10603.1160665544@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

"Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp> writes:
> I have warning with MinGW....
> qsort.c:53:1: warning: "min" redefined

I've fixed this by using Min() from c.h instead.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim C. Nasby 2006-10-12 15:14:39 Hints proposal
Previous Message Bruce Momjian 2006-10-12 14:58:34 Replication documentation

Browse pgsql-patches by date

  From Date Subject
Next Message Hiroshi Saito 2006-10-12 15:36:52 Re: warning: "min" redefined of qsort.
Previous Message Guillaume Lelarge 2006-10-12 10:54:39 Re: [PATCHES] ISO week dates