Re: [patch] CodeGuard fix - Mailing list pgsql-odbc

From Cyrille Chépélov
Subject Re: [patch] CodeGuard fix
Date
Msg-id 3FE696F3.8030308@softek.fr
Whole thread Raw
In response to Re: [patch] CodeGuard fix  ("Hiroshi Inoue" <inoue@tpf.co.jp>)
List pgsql-odbc
Hiroshi Inoue wrote:

> +#  ifdef __BORLANDC__
> +#    define timezone _timzone
> +#    define daylight _daylight
>
> What are the above 2 lines for ?

Oh, to account for stupid spraying of underscores in Borland's libc.

I can give you a whole BC++ patch if you want -- in my experience with
these 10-30 minutes of effort, the resulting DLL works as fine as if
compiled with VC++.

Best Regards,

    -- Cyrille


pgsql-odbc by date:

Previous
From: Bui Nguyen Minh
Date:
Subject: Re: How to store and retreive binary data using VC++ ?
Next
From: tim
Date:
Subject: Can't connect to DB using psqlodbc when log_duration=true & client_min_messages=log