Re: Fixes for 64-bit architectures - Mailing list pgsql-odbc

From Dave Page
Subject Re: Fixes for 64-bit architectures
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E40C3808@ratbert.vale-housing.co.uk
Whole thread Raw
In response to Fixes for 64-bit architectures  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-odbc

> -----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.

pgsql-odbc by date:

Previous
From: "Dave Page"
Date:
Subject: Re: ODBC Developers
Next
From: bernardofhoppe@yahoo.com (zzzmito)
Date:
Subject: ODBC and multi-threading: basics