Re: [PATCHES] warning: min redefined of qsort.

2006-10-12 Thread Tom Lane
Hiroshi Saito [EMAIL PROTECTED] 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

---(end of broadcast)---
TIP 5: don't forget to increase your free space map settings


Re: [PATCHES] warning: min redefined of qsort.

2006-10-12 Thread Hiroshi Saito

Hi Tom-san.

From: Tom Lane



Hiroshi Saito [EMAIL PROTECTED] 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


---(end of broadcast)---
TIP 1: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly


[PATCHES] warning: min redefined of qsort.

2006-10-11 Thread Hiroshi Saito

Hi.

I have warning with MinGW

qsort.c:53:1: warning: min redefined
In file included from C:/MinGW/include/windows.h:48,
from ../../src/include/pg_config_os.h:12,
from ../../src/include/c.h:88,
from qsort.c:46:
C:/MinGW/include/windef.h:143:1: warning: this is the location of the previous 
definition
qsort_arg.c:53:1: warning: min redefined
In file included from C:/MinGW/include/windows.h:48,
from ../../src/include/pg_config_os.h:12,
from ../../src/include/c.h:88,
from qsort_arg.c:46:
C:/MinGW/include/windef.h:143:1: warning: this is the location of the previous 
definition
qsort.c:53:1: warning: min redefined
In file included from C:/MinGW/include/windows.h:48,
from ../../src/include/pg_config_os.h:12,
from ../../src/include/c.h:88,
from qsort.c:46:
C:/MinGW/include/windef.h:143:1: warning: this is the location of the previous 
definition
qsort_arg.c:53:1: warning: min redefined
In file included from C:/MinGW/include/windows.h:48,
from ../../src/include/pg_config_os.h:12,
from ../../src/include/c.h:88,
from qsort_arg.c:46:


Therefore, please consider this.

Regards,
Hiroshi Saito


qsort_win32_patch
Description: Binary data

---(end of broadcast)---
TIP 1: if posting/reading through Usenet, please send an appropriate
   subscribe-nomail command to [EMAIL PROTECTED] so that your
   message can get through to the mailing list cleanly