GDAL
|
00001 00002 /* -------------------------------------------------------------------- */ 00003 /* GDAL Version Information. */ 00004 /* -------------------------------------------------------------------- */ 00005 00006 #ifndef GDAL_VERSION_MAJOR 00007 # define GDAL_VERSION_MAJOR 2 00008 # define GDAL_VERSION_MINOR 0 00009 # define GDAL_VERSION_REV 2 00010 # define GDAL_VERSION_BUILD 0 00011 #endif 00012 00013 /* GDAL_COMPUTE_VERSION macro introduced in GDAL 1.10 */ 00014 /* Must be used ONLY to compare with version numbers for GDAL >= 1.10 */ 00015 #ifndef GDAL_COMPUTE_VERSION 00016 #define GDAL_COMPUTE_VERSION(maj,min,rev) ((maj)*1000000+(min)*10000+(rev)*100) 00017 #endif 00018 00019 /* Note: the formula to compute GDAL_VERSION_NUM has changed in GDAL 1.10 */ 00020 #ifndef GDAL_VERSION_NUM 00021 # define GDAL_VERSION_NUM (GDAL_COMPUTE_VERSION(GDAL_VERSION_MAJOR,GDAL_VERSION_MINOR,GDAL_VERSION_REV)+GDAL_VERSION_BUILD) 00022 #endif 00023 00024 #ifndef GDAL_RELEASE_DATE 00025 # define GDAL_RELEASE_DATE 20160126 00026 #endif 00027 #ifndef GDAL_RELEASE_NAME 00028 # define GDAL_RELEASE_NAME "2.0.2" 00029 #endif