1*3ac0a46fSAndroid Build Coastguard Worker /* clang-format off */ 2*3ac0a46fSAndroid Build Coastguard Worker 3*3ac0a46fSAndroid Build Coastguard Worker /* clang-format disabled because FindTIFF.cmake is very sensitive to the 4*3ac0a46fSAndroid Build Coastguard Worker * formatting of below line being a single line. 5*3ac0a46fSAndroid Build Coastguard Worker */ 6*3ac0a46fSAndroid Build Coastguard Worker #define TIFFLIB_VERSION_STR "LIBTIFF, Version 4.5.1\nCopyright (c) 1988-1996 Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc." 7*3ac0a46fSAndroid Build Coastguard Worker /* 8*3ac0a46fSAndroid Build Coastguard Worker * This define can be used in code that requires 9*3ac0a46fSAndroid Build Coastguard Worker * compilation-related definitions specific to a 10*3ac0a46fSAndroid Build Coastguard Worker * version or versions of the library. Runtime 11*3ac0a46fSAndroid Build Coastguard Worker * version checking should be done based on the 12*3ac0a46fSAndroid Build Coastguard Worker * string returned by TIFFGetVersion. 13*3ac0a46fSAndroid Build Coastguard Worker */ 14*3ac0a46fSAndroid Build Coastguard Worker #define TIFFLIB_VERSION 20230609 15*3ac0a46fSAndroid Build Coastguard Worker 16*3ac0a46fSAndroid Build Coastguard Worker /* The following defines have been added in 4.5.0 */ 17*3ac0a46fSAndroid Build Coastguard Worker #define TIFFLIB_MAJOR_VERSION 4 18*3ac0a46fSAndroid Build Coastguard Worker #define TIFFLIB_MINOR_VERSION 5 19*3ac0a46fSAndroid Build Coastguard Worker #define TIFFLIB_MICRO_VERSION 1 20*3ac0a46fSAndroid Build Coastguard Worker 21*3ac0a46fSAndroid Build Coastguard Worker /* Macro added in 4.5.0. Returns TRUE if the current libtiff version is 22*3ac0a46fSAndroid Build Coastguard Worker * greater or equal to major.minor.micro 23*3ac0a46fSAndroid Build Coastguard Worker */ 24*3ac0a46fSAndroid Build Coastguard Worker #define TIFFLIB_AT_LEAST(major, minor, micro) \ 25*3ac0a46fSAndroid Build Coastguard Worker (TIFFLIB_MAJOR_VERSION > (major) || \ 26*3ac0a46fSAndroid Build Coastguard Worker (TIFFLIB_MAJOR_VERSION == (major) && TIFFLIB_MINOR_VERSION > (minor)) || \ 27*3ac0a46fSAndroid Build Coastguard Worker (TIFFLIB_MAJOR_VERSION == (major) && TIFFLIB_MINOR_VERSION == (minor) && \ 28*3ac0a46fSAndroid Build Coastguard Worker TIFFLIB_MICRO_VERSION >= (micro))) 29*3ac0a46fSAndroid Build Coastguard Worker 30*3ac0a46fSAndroid Build Coastguard Worker /* clang-format on */ 31