Re: warning: "min" redefined of qsort. - Mailing list pgsql-patches

From Hiroshi Saito
Subject Re: warning: "min" redefined of qsort.
Date
Msg-id 060701c6ee14$3dd3dfd0$a543040a@wiseknot.local
Whole thread Raw
In response to warning: "min" redefined of qsort.  ("Hiroshi Saito" <z-saito@guitar.ocn.ne.jp>)
List pgsql-patches
Hi Tom-san.

From: "Tom Lane"


> "Hiroshi Saito" <z-saito@guitar.ocn.ne.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


pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: warning: "min" redefined of qsort.
Next
From: "Hiroshi Saito"
Date:
Subject: test_fsync on MinGW(win32)