[Gdal-dev] GDAL and ODBC >= 3.52
David Herring
dherring at mohicam.com
Tue Jan 11 10:05:54 EST 2005
#defining in cpl_odbc.cpp should work easily, I should have thought of
that thanks. I'll give it a try later today and submit a simple patch.
David
On Tue, 2005-01-11 at 09:44 -0500, Frank Warmerdam wrote:
> On Tue, 11 Jan 2005 00:18:35 -0600, David Herring <dherring at mohicam.com> wrote:
> David,
>
> Rather than trying to detect this in configure, it is possible to
> figure out where
> we are in a pre or post 3.51 version right in cpl_odbc.cpp?
> I have an ODBC 3.51 sql.h here that defines the ODBCVER macro.
> It would seem we should be able to determine whether we need 3.52
> versions of stuff based on a check like:
>
> #if ODBCVER > 0x0351
> ...
> #else
> ...
> #endif
>
> If you can prepare and test a patch based on that I would
> be pleased to apply it.
>
> Best regards,
>
More information about the Gdal-dev
mailing list