1/* $Id$ */ 2 3/* -------------------------------------------------------------------- */ 4/* GDAL Version Information. */ 5/* -------------------------------------------------------------------- */ 6 7#ifndef GDAL_VERSION_MAJOR 8# define GDAL_VERSION_MAJOR 3 9# define GDAL_VERSION_MINOR 3 10# define GDAL_VERSION_REV 3 11# define GDAL_VERSION_BUILD 0 12#endif 13 14/* GDAL_COMPUTE_VERSION macro introduced in GDAL 1.10 */ 15/* Must be used ONLY to compare with version numbers for GDAL >= 1.10 */ 16#ifndef GDAL_COMPUTE_VERSION 17#define GDAL_COMPUTE_VERSION(maj,min,rev) ((maj)*1000000+(min)*10000+(rev)*100) 18#endif 19 20/* Note: the formula to compute GDAL_VERSION_NUM has changed in GDAL 1.10 */ 21#ifndef GDAL_VERSION_NUM 22# define GDAL_VERSION_NUM (GDAL_COMPUTE_VERSION(GDAL_VERSION_MAJOR,GDAL_VERSION_MINOR,GDAL_VERSION_REV)+GDAL_VERSION_BUILD) 23#endif 24 25#if !defined(DO_NOT_DEFINE_GDAL_RELEASE_DATE_AND_GDAL_RELEASE_NAME) 26#ifndef GDAL_RELEASE_DATE 27# define GDAL_RELEASE_DATE 20211025 28#endif 29#ifndef GDAL_RELEASE_NAME 30# define GDAL_RELEASE_NAME "3.3.3" 31#endif 32#endif 33