postgresql/src
Bruce Momjian 4ebd4224a5 Disble some Win32-specific code in win32-client-only builds:
I have the problem, when building by MS-VC6.
An error occurs in the 8.1.0 present source codes.

nmake -f win32.mak
..\..\port\getaddrinfo.c(244) : error C2065: 'WSA_NOT_ENOUGH_MEMORY'
..\..\port\getaddrinfo.c(342) : error C2065: 'WSATYPE_NOT_FOUND'

This is used by winsock2.h. However, Construction of a windows base is
winsock.h.
Then, Since MinGW has special environment, this is right. but, it is not
found in VC6.
Furthermore, in getaddrinfo.c, IPV6-API is used by
LoadLibraryA("ws2_32");
Referring to of dll the external memory generates this violation by VC6
specification.

I considered whether the whole should have been converted into winsock2.
However, Now, DLL of MinGW creation operates wonderfully as it is.
That's right, it has pliability by replacement of simple DLL.
Then, I propose the system using winsock(non IPV6) in construction of
VC6.

Hiroshi Saito
2005-12-08 17:52:11 +00:00
..
backend Fix thinko in comment. 2005-12-08 15:38:29 +00:00
bin Disble some Win32-specific code in win32-client-only builds: 2005-12-08 17:52:11 +00:00
include Disble some Win32-specific code in win32-client-only builds: 2005-12-08 17:52:11 +00:00
interfaces ecpg/pgtypeslib seems to need snprintf.c pulled in, too. 2005-12-06 05:26:21 +00:00
makefiles Clean up AIX build to avoid 'duplicate symbol' warnings, by moving use 2005-10-28 17:32:22 +00:00
pl Re-run pgindent, fixing a problem where comment lines after a blank 2005-11-22 18:17:34 +00:00
port Disble some Win32-specific code in win32-client-only builds: 2005-12-08 17:52:11 +00:00
template SUNOS4_CC -> SUNOS_CC. 2005-07-30 03:07:42 +00:00
test Spell "explicitly" correctly, per Simon. 2005-12-07 15:20:56 +00:00
timezone Re-run pgindent, fixing a problem where comment lines after a blank 2005-11-22 18:17:34 +00:00
tools Fix pgindent of libpq-fe.h by hacking pgindent script. 2005-11-23 04:23:30 +00:00
tutorial Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
utils PostgreSQL extension makefile framework ("pgxs"), by Fabien Coelho, with 2004-07-30 12:26:40 +00:00
bcc32.mak Add -N make flag to bcc builds from /src dir. 2005-05-13 18:12:35 +00:00
DEVELOPERS
Makefile Install pg_regress where PGXS' "make installcheck" can find it. 2005-11-28 12:03:56 +00:00
Makefile.global.in Fix problems with PGXS builds against an installation tree that was 2005-09-27 17:39:35 +00:00
Makefile.shlib Fix out-of-order inclusion of -L switches from LDFLAGS on AIX and HPUX. 2005-12-03 20:16:31 +00:00
nls-global.mk More locale fixes for pg_ctl. 2004-06-01 03:32:42 +00:00
win32.mak Attached is a makefile I hacked up to build pg_config under MSVC - the 2005-06-14 17:50:38 +00:00