Fixes for 64-bit architectures
Fixes for 64-bit architectures
This patch fixes several misguided assumptions that sizeof(long) == 4, which is not true on 64-bit architectures. Please install it.
Re: Fixes for 64-bit architectures
От:
"Dave Page" <dpage@vale-housing.co.uk>
Дата:
> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org
> [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Peter Eisentraut
> Sent: 27 June 2004 17:19
> To: pgsql-odbc@postgresql.org
> Subject: [ODBC] Fixes for 64-bit architectures
>
> This patch fixes several misguided assumptions that
> sizeof(long) == 4, which is not true on 64-bit architectures.
> Please install it.
Applied with the following mod in socket.c.
#ifdef WIN32
UInt4 iaddr;
#else
in_addr_t iaddr;
#endif
Thanks, Dave.