diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2020-03-15 10:51:27 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2020-03-15 10:51:27 +0000 |
| commit | 424fce6640179fa6669833b6e2ae53332a1972bd (patch) | |
| tree | 2d414c5b4eb1dc315ec3aae85a0e3dfcf6578824 /src/grids.cpp | |
| parent | 723933b52fa5e4a16e4b5c64665292afecacbba5 (diff) | |
| download | PROJ-424fce6640179fa6669833b6e2ae53332a1972bd.tar.gz PROJ-424fce6640179fa6669833b6e2ae53332a1972bd.zip | |
Fix build with libtiff master (libtiff > 4.1.0)
Diffstat (limited to 'src/grids.cpp')
| -rw-r--r-- | src/grids.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/grids.cpp b/src/grids.cpp index 7842d39b..c5fc6c74 100644 --- a/src/grids.cpp +++ b/src/grids.cpp @@ -309,8 +309,11 @@ constexpr uint16 TIFFTAG_GEOTRANSMATRIX = 34264; constexpr uint16 TIFFTAG_GEOKEYDIRECTORY = 34735; constexpr uint16 TIFFTAG_GEODOUBLEPARAMS = 34736; constexpr uint16 TIFFTAG_GEOASCIIPARAMS = 34737; +#ifndef TIFFTAG_GDAL_METADATA +// Starting with libtiff > 4.1.0, those symbolic names are #define in tiff.h constexpr uint16 TIFFTAG_GDAL_METADATA = 42112; constexpr uint16 TIFFTAG_GDAL_NODATA = 42113; +#endif // --------------------------------------------------------------------------- |
