[Gdal-dev] Re: build gdal for mingw32 on cygwin

Martin Daly Martin.Daly at cadcorp.com
Mon May 12 10:16:40 EDT 2003


Frank,

> Of course, it would be more appropriate for me to actually 
> test if the compiler is VC++, but offhand I am not sure how 
> to do that.

"#ifdef _MSC_VER" could be a suitable test.

The VC++ 6.0 on-line helps says "Defines the compiler version. Defined
as 1200 for Microsoft Visual C++ 6.0. Always defined."  VC++ .NET is
>=1300.

Regards,
Martin



More information about the Gdal-dev mailing list