Re: Compiling psqlODBC on Windows with MS VC++ 2005 Express - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: Compiling psqlODBC on Windows with MS VC++ 2005 Express
Date
Msg-id 519A4308.8020508@tpf.co.jp
Whole thread Raw
In response to Re: Compiling psqlODBC on Windows with MS VC++ 2005 Express  (ljwilson <ljwilson@digitalav.com>)
Responses Re: Compiling psqlODBC on Windows with MS VC++ 2005 Express  (ljwilson <ljwilson@digitalav.com>)
List pgsql-odbc
(2013/05/21 0:13), ljwilson wrote:
> Yes, without using the #include <winsock2.h> fix:

Maybe the attached patch will fix the compilation errors.

regards,
Hiroshi Inoue

> socket.c
> C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\ws2def.h(91) : warning C4005: 'AF_IPX' : macro
> redefinition
>          C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\winsock.h(460) : see previous definition of
> 'AF_IPX'
> C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\ws2def.h(131) : warning C4005: 'AF_MAX' : macro
> redefinition
>          C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\winsock.h(479) : see previous definition of
> 'AF_MAX'
> C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\ws2def.h(168) : warning C4005: 'SO_DONTLINGER' :
> macro redefinition
>          C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\winsock.h(402) : see previous definition of
> 'SO_DONTLINGER'
> C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include\ws2def.h(212) : error C2011: 'sockaddr' : 'struct'
> type redefinition



Attachment

pgsql-odbc by date:

Previous
From: ljwilson
Date:
Subject: Re: Compiling psqlODBC on Windows with MS VC++ 2005 Express
Next
From: ljwilson
Date:
Subject: Re: Compiling psqlODBC on Windows with MS VC++ 2005 Express