COVISE Core
img
cotiffio.h
Go to the documentation of this file.
1
/* This file is part of COVISE.
2
3
You can use it under the terms of the GNU Lesser General Public License
4
version 2.1 or later, see lgpl-2.1.txt.
5
6
* License: LGPL 2+ */
7
8
// this header is a wrapper around tiffio.h enabling using fixed
9
// sized int types that have been deprecated in newer versions of the TIFF
10
// library without warnings
11
12
#ifndef IMG_COTIFFIO_H
13
#define IMG_COTIFFIO_H
14
15
//#ifdef HAVE_LIBTIFF
16
17
#include <tiffvers.h>
18
19
#if TIFFLIB_VERSION >= 20210416
20
#define TIFF_DISABLE_DEPRECATED
/* enable using uint32 instead of uint32_t */
21
#define uint16 uint16_t
22
#define uint32 uint32_t
23
#define uint64 uint64_t
24
#endif
25
26
#include <tiffio.h>
27
//#endif
28
29
#endif
Generated by
1.9.4