Add missing include statement for ssize_t
[openjpeg.git] / thirdparty / libtiff / tiffconf.h.cmake.in
1 /*
2   Configuration defines for installed libtiff.
3   This file maintained for backward compatibility. Do not use definitions
4   from this file in your programs.
5 */
6
7 #ifndef _TIFFCONF_
8 #define _TIFFCONF_
9
10 #include "tif_config.h"
11 #if defined( HAVE_STDINT_H )
12 #include <stdint.h>
13 #endif
14 #if defined( HAVE_UNISTD_H )
15 #include <unistd.h>
16 #endif
17
18 /* Define as 0 or 1 according to the floating point format suported by the
19    machine */
20 #define HAVE_IEEEFP 1
21
22 /* Set the native cpu bit order (FILLORDER_LSB2MSB or FILLORDER_MSB2LSB) */
23 #define HOST_FILLORDER FILLORDER_LSB2MSB
24
25 /* Native cpu byte order: 1 if big-endian (Motorola) or 0 if little-endian
26    (Intel) */
27 #define HOST_BIGENDIAN 0
28
29 /* Support CCITT Group 3 & 4 algorithms */
30 #define CCITT_SUPPORT 1
31
32 /* Support LogLuv high dynamic range encoding */
33 #define LOGLUV_SUPPORT 1
34
35 /* Support LZW algorithm */
36 #define LZW_SUPPORT 1
37
38 /* Support NeXT 2-bit RLE algorithm */
39 #define NEXT_SUPPORT 1
40
41 /* Support Old JPEG compresson (read contrib/ojpeg/README first! Compilation
42    fails with unpatched IJG JPEG library) */
43 /* #undef OJPEG_SUPPORT */
44
45 /* Support Macintosh PackBits algorithm */
46 #define PACKBITS_SUPPORT 1
47
48 /* Support ThunderScan 4-bit RLE algorithm */
49 #define THUNDER_SUPPORT 1
50
51 /* Support strip chopping (whether or not to convert single-strip uncompressed
52    images to mutiple strips of ~8Kb to reduce memory usage) */
53 #define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
54
55 /* Enable SubIFD tag (330) support */
56 #define SUBIFD_SUPPORT 1
57
58 /* Treat extra sample as alpha (default enabled). The RGBA interface will
59    treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
60    packages produce RGBA files but don't mark the alpha properly. */
61 /*#define DEFAULT_EXTRASAMPLE_AS_ALPHA 1*/
62
63 /* Pick up YCbCr subsampling info from the JPEG data stream to support files
64    lacking the tag (default enabled). */
65 #define CHECK_JPEG_YCBCR_SUBSAMPLING 1
66
67 /* Support MS MDI magic number files as TIFF */
68 #define MDI_SUPPORT 1
69
70 /*
71  * Feature support definitions.
72  * XXX: These macros are obsoleted. Don't use them in your apps!
73  * Macros stays here for backward compatibility and should be always defined.
74  */
75 #define COLORIMETRY_SUPPORT
76 #define YCBCR_SUPPORT
77 #define CMYK_SUPPORT
78 #define ICC_SUPPORT
79 #define PHOTOSHOP_SUPPORT
80 #define IPTC_SUPPORT
81
82 #endif /* _TIFFCONF_ */