On mercredi 17 mai 2017 09:10:42 CEST Martin Chapman wrote:
> ItÂ’s an enum value defined in at least version 8.0 and greater. Maybe in
> earlier versions but I am using version 9.1.
>
Indeed, that's an *enum value*, not a #define !
typedef enum LTIColorSpace
{
[...]
LTI_COLORSPACE_GRAYSCALEA = LTI_COLORSPACE_GRAYSCALE |
LTI_COLORSPACE_MASK_ALPHA,
LTI_COLORSPACE_GRAYSCALEA_PM = LTI_COLORSPACE_GRAYSCALEA |
LTI_COLORSPACE_MASK_ALPHA_PRE_MULTIPLIED,
I interpreted your "Looks good" as "applied and successfully tested"...
I do have SDK 8 indeed, so I replaced the conditional test with:
#if defined(LTI_SDK_MAJOR) && LTI_SDK_MAJOR >= 8
--
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev