Re: Fixes for 64-bit architectures

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Fixes for 64-bit architectures
Дата
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E40C3808@ratbert.vale-housing.co.uk
обсуждение исходный текст
Ответ на Fixes for 64-bit architectures  (Peter Eisentraut <peter_e@gmx.net>)
Список 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 по дате отправления:

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: ODBC Developers
Следующее
От: bernardofhoppe@yahoo.com (zzzmito)
Дата:
Сообщение: ODBC and multi-threading: basics