| 1 |
/* tiffvers.h version information is updated according to version information |
| 2 |
* in configure.ac */ |
| 3 |
|
| 4 |
/* clang-format off */ |
| 5 |
|
| 6 |
/* clang-format disabled because FindTIFF.cmake is very sensitive to the |
| 7 |
* formatting of below line being a single line. |
| 8 |
* Furthermore, configure_file variables of type "@VAR@" are |
| 9 |
* modified by clang-format and won't be substituted by CMake. |
| 10 |
*/ |
| 11 |
#define TIFFLIB_VERSION_STR "LIBTIFF, Version 4.7.0\nCopyright (c) 1988-1996 Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc." |
| 12 |
/* |
| 13 |
* This define can be used in code that requires |
| 14 |
* compilation-related definitions specific to a |
| 15 |
* version or versions of the library. Runtime |
| 16 |
* version checking should be done based on the |
| 17 |
* string returned by TIFFGetVersion. |
| 18 |
*/ |
| 19 |
#define TIFFLIB_VERSION 20240911 |
| 20 |
|
| 21 |
/* The following defines have been added in 4.5.0 */ |
| 22 |
#define TIFFLIB_MAJOR_VERSION 4 |
| 23 |
#define TIFFLIB_MINOR_VERSION 7 |
| 24 |
#define TIFFLIB_MICRO_VERSION 0 |
| 25 |
#define TIFFLIB_VERSION_STR_MAJ_MIN_MIC "4.7.0" |
| 26 |
|
| 27 |
/* Macro added in 4.5.0. Returns TRUE if the current libtiff version is |
| 28 |
* greater or equal to major.minor.micro |
| 29 |
*/ |
| 30 |
#define TIFFLIB_AT_LEAST(major, minor, micro) \ |
| 31 |
(TIFFLIB_MAJOR_VERSION > (major) || \ |
| 32 |
(TIFFLIB_MAJOR_VERSION == (major) && TIFFLIB_MINOR_VERSION > (minor)) || \ |
| 33 |
(TIFFLIB_MAJOR_VERSION == (major) && TIFFLIB_MINOR_VERSION == (minor) && \ |
| 34 |
TIFFLIB_MICRO_VERSION >= (micro))) |
| 35 |
|
| 36 |
/* clang-format on */ |