gdal_version.h 1.0 KB

1234567891011121314151617181920212223242526272829
  1. /* -------------------------------------------------------------------- */
  2. /* GDAL Version Information. */
  3. /* -------------------------------------------------------------------- */
  4. #ifndef GDAL_VERSION_MAJOR
  5. # define GDAL_VERSION_MAJOR 2
  6. # define GDAL_VERSION_MINOR 0
  7. # define GDAL_VERSION_REV 1
  8. # define GDAL_VERSION_BUILD 0
  9. #endif
  10. /* GDAL_COMPUTE_VERSION macro introduced in GDAL 1.10 */
  11. /* Must be used ONLY to compare with version numbers for GDAL >= 1.10 */
  12. #ifndef GDAL_COMPUTE_VERSION
  13. #define GDAL_COMPUTE_VERSION(maj,min,rev) ((maj)*1000000+(min)*10000+(rev)*100)
  14. #endif
  15. /* Note: the formula to compute GDAL_VERSION_NUM has changed in GDAL 1.10 */
  16. #ifndef GDAL_VERSION_NUM
  17. # define GDAL_VERSION_NUM (GDAL_COMPUTE_VERSION(GDAL_VERSION_MAJOR,GDAL_VERSION_MINOR,GDAL_VERSION_REV)+GDAL_VERSION_BUILD)
  18. #endif
  19. #ifndef GDAL_RELEASE_DATE
  20. # define GDAL_RELEASE_DATE 20150915
  21. #endif
  22. #ifndef GDAL_RELEASE_NAME
  23. # define GDAL_RELEASE_NAME "2.0.1"
  24. #endif