GDAL

- Main Page
- Related Pages
- Classes
- Files
- Download
- Issue Tracker

- File List
- File Members

gdal_version.h
1 /* $Id: gdal_version.h 39236 2017-06-23 11:26:14Z rouault $ */
2
3 /* -------------------------------------------------------------------- */
4 /* GDAL Version Information. */
5 /* -------------------------------------------------------------------- */
6
7 #ifndef GDAL_VERSION_MAJOR
8 # define GDAL_VERSION_MAJOR 2
9 # define GDAL_VERSION_MINOR 2
10 # define GDAL_VERSION_REV 1
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 #ifndef GDAL_RELEASE_DATE
26 # define GDAL_RELEASE_DATE 20170623
27 #endif
28 #ifndef GDAL_RELEASE_NAME
29 # define GDAL_RELEASE_NAME "2.2.1"
30 #endif

Generated for GDAL by 1.8.9.1.