Re: Fixes for 64-bit architectures

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>, <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Fixes for 64-bit architectures
Date: 2004-07-01 09:22:02
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E40C3808@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

> -----Original Message-----
> From: pgsql-odbc-owner(at)postgresql(dot)org
> [mailto:pgsql-odbc-owner(at)postgresql(dot)org] On Behalf Of Peter Eisentraut
> Sent: 27 June 2004 17:19
> To: pgsql-odbc(at)postgresql(dot)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.

Browse pgsql-odbc by date

  From Date Subject
Next Message K. Balamurugan 2004-07-01 11:09:34 Re: Volunteer psqlODBC Developer Required
Previous Message Dave Page 2004-07-01 07:52:28 Re: ODBC Developers