Re: warning: "min" redefined of qsort.

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

Hi Tom-san.

From: "Tom Lane"

> "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.

Ahh, I was consideration shortage.
Thanks!!

Regards,
Hiroshi Saito

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-10-12 15:42:32 Re: Hints proposal
Previous Message Joshua Marsh 2006-10-12 15:26:24 Re: Hints proposal

Browse pgsql-patches by date

  From Date Subject
Next Message Hiroshi Saito 2006-10-12 16:29:52 test_fsync on MinGW(win32)
Previous Message Tom Lane 2006-10-12 15:05:44 Re: warning: "min" redefined of qsort.