annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/tiffvers.h @ 69:33d812a61356

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