/usr/include/gdal/gdal_version.h is in libgdal-dev 2.2.3+dfsg-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | /* $Id: gdal_version.h 40767 2017-11-20 10:39:34Z rouault $ */
/* -------------------------------------------------------------------- */
/* GDAL Version Information. */
/* -------------------------------------------------------------------- */
#ifndef GDAL_VERSION_MAJOR
# define GDAL_VERSION_MAJOR 2
# define GDAL_VERSION_MINOR 2
# define GDAL_VERSION_REV 3
# define GDAL_VERSION_BUILD 0
#endif
/* GDAL_COMPUTE_VERSION macro introduced in GDAL 1.10 */
/* Must be used ONLY to compare with version numbers for GDAL >= 1.10 */
#ifndef GDAL_COMPUTE_VERSION
#define GDAL_COMPUTE_VERSION(maj,min,rev) ((maj)*1000000+(min)*10000+(rev)*100)
#endif
/* Note: the formula to compute GDAL_VERSION_NUM has changed in GDAL 1.10 */
#ifndef GDAL_VERSION_NUM
# define GDAL_VERSION_NUM (GDAL_COMPUTE_VERSION(GDAL_VERSION_MAJOR,GDAL_VERSION_MINOR,GDAL_VERSION_REV)+GDAL_VERSION_BUILD)
#endif
#ifndef GDAL_RELEASE_DATE
# define GDAL_RELEASE_DATE 20171120
#endif
#ifndef GDAL_RELEASE_NAME
# define GDAL_RELEASE_NAME "2.2.3"
#endif
|