From: | Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp> |
---|---|
To: | ljwilson <ljwilson(at)digitalav(dot)com> |
Cc: | pgsql-odbc(at)postgresql(dot)org |
Subject: | Re: Compiling psqlODBC on Windows with MS VC++ 2005 Express |
Date: | 2013-05-20 15:36:40 |
Message-ID: | 519A4308.8020508@tpf.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 | Content-Type | Size |
---|---|---|
socket_c.patch | text/x-patch | 379 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | ljwilson | 2013-05-20 15:50:23 | Re: Compiling psqlODBC on Windows with MS VC++ 2005 Express |
Previous Message | ljwilson | 2013-05-20 15:13:26 | Re: Compiling psqlODBC on Windows with MS VC++ 2005 Express |