Re: Can not build libpq.dll with BCC

From: "CN" <cnliou9(at)fastmail(dot)fm>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Can not build libpq.dll with BCC
Date: 2005-09-28 12:14:23
Message-ID: 1127909663.1694.243936314@webmail.messagingengine.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Thank you! Magnus,

> This sounds like you need a newer Platform SDK. This define should be in
> winsock2.h, per
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock
> /winsock/windows_sockets_error_codes_2.asp. Probably your includes from
> BCC are too old and needs updating.
>

Before reported this issue, I had checked BCC's winsock2.h and noticed
that the required defines are already there:

...
/*
* WinSock 2 extension -- new error codes and type definition
*/

#ifdef WIN32

#define WSAAPI FAR PASCAL
#define WSAEVENT HANDLE
#define LPWSAEVENT LPHANDLE
#define WSAOVERLAPPED OVERLAPPED
typedef struct _OVERLAPPED * LPWSAOVERLAPPED;

#define WSA_IO_PENDING (ERROR_IO_PENDING)
#define WSA_IO_INCOMPLETE (ERROR_IO_INCOMPLETE)
#define WSA_INVALID_HANDLE (ERROR_INVALID_HANDLE)
#define WSA_INVALID_PARAMETER (ERROR_INVALID_PARAMETER)
#define WSA_NOT_ENOUGH_MEMORY (ERROR_NOT_ENOUGH_MEMORY)
#define WSA_OPERATION_ABORTED (ERROR_OPERATION_ABORTED)
...

Regards,

CN

--
http://www.fastmail.fm - Access your email from home and the web

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2005-09-28 13:24:42 Re: BUG #1917: autovaccuum crashes
Previous Message Hector Arocho 2005-09-28 11:54:38 BUG #1918: Wireless Zero Configuration