Release 9.12.
[wine.git] / libs / tiff / libtiff / tiffvers.h
blob892e9a0b2392af6fda1b4d037b07c03e7d7d20ba
1 /* tiffvers.h version information is updated according to version information
2 * in configure.ac */
4 /* clang-format off */
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.
11 #define TIFFLIB_VERSION_STR "LIBTIFF, Version 4.6.0\nCopyright (c) 1988-1996 Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc."
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.
19 #define TIFFLIB_VERSION 20230908
21 /* The following defines have been added in 4.5.0 */
22 #define TIFFLIB_MAJOR_VERSION 4
23 #define TIFFLIB_MINOR_VERSION 6
24 #define TIFFLIB_MICRO_VERSION 0
25 #define TIFFLIB_VERSION_STR_MAJ_MIN_MIC "4.6.0"
27 /* Macro added in 4.5.0. Returns TRUE if the current libtiff version is
28 * greater or equal to major.minor.micro
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)))
36 /* clang-format on */