Re: Is there a way to build PostgreSQL client libraries with MinGW
| От | Andrew Dunstan |
|---|---|
| Тема | Re: Is there a way to build PostgreSQL client libraries with MinGW |
| Дата | |
| Msg-id | 4D417AB5.9020106@dunslane.net обсуждение исходный текст |
| Ответ на | Re: Is there a way to build PostgreSQL client libraries with MinGW (Robert Haas <robertmhaas@gmail.com>) |
| Ответы |
Re: Is there a way to build PostgreSQL client libraries
with MinGW
|
| Список | pgsql-hackers |
On 01/27/2011 08:51 AM, Robert Haas wrote: > On Thu, Jan 27, 2011 at 7:31 AM, Xiaobo Gu<guxiaobo1982@gmail.com> wrote: >> 20:25<jon_y>: please contact psql and ask for a list of accept() >> implementations checked > It looks like we check each argument and the return type for a couple > of possibilities: > > argument 1 can be int or unsigned int > argument 2 can be struct sockaddr * or const struct sockaddr * or void * > argument 3 can be int * or size_t * or socklen_t * or unsigned int * or void * > the return type can be int or unsigned int PASCAL > > Yeah. it looks like the return type is the likely culprit. It looks like it wants either a signed or unsigned int64. Also, the mingw64 API uses the WSAAPI qualifier instead of PASCAL. cheers andrew
В списке pgsql-hackers по дате отправления: