GDAL

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

- File List
- File Members

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