diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-03-14 19:44:37 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-03-15 11:51:00 +0100 |
| commit | 78eaa34a4816fd9a36e902adae4663f13bc39fab (patch) | |
| tree | 31fe0a1533574a3e81d19e7a3f061e0fda4dd38a /src/grids.cpp | |
| parent | d8835f1288207ba9a7e78082050ef61af3ded1e3 (diff) | |
| download | PROJ-78eaa34a4816fd9a36e902adae4663f13bc39fab.tar.gz PROJ-78eaa34a4816fd9a36e902adae4663f13bc39fab.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 // --------------------------------------------------------------------------- |
