
/* Define to 1 if you have the <assert.h> header file. */

#ifndef _TIFFCONF_
#define _TIFFCONF_

#include <inttypes.h>
#define UINT16_MAX		(65535U)
#define INT32_MAX              (2147483647)
#define UINT32_MAX              (4294967295U)
#define UINT64_MAX        18446744073709551615ULL
#define INT64_MAX	  9223372036854775807LL
#define SIZE_MAX          UINT32_MAX
#define PRIu16		"hu"
#define PRIu32		"u"
#define PRIu64		"llu"
#define PRIx16		"hx"
#define PRIx32		"x"
#define PRIx64		"llx"
#define PRIi64		"lli"
#define PRId64		"lld"
#define PRIu8		"u"
#define PRIx8		"x"
#define PRId8		"d"
#define PRId16		"hd"
#define PRId32		"d"
#define SIZEOF_SIZE_T	4

#define TIFFOpenOptionsSetMaxSingleMemAlloc VMS_TIFFOpenOptSMaxSMemAlloc
#define TIFFOpenOptionsSetErrorHandlerExtR  VMS_TIFFOpenOptSErrHdlrExtR
#define TIFFOpenOptionsSetWarningHandlerExtR VMS_TIFFOpenOptSWarnHdlrExtR
#define TIFFOpenOptionsSetMaxCumulatedMemAlloc VMS_TIFFOpenOptSetMaxCudMemAl
#define TIFFOpenOptionsSetWarnAboutUnknownTags VMS_TIFFOpenOptSetWarAbUnknTgs

/* Signed 16-bit type */
#define TIFF_INT16_T signed short

/* Signed 32-bit type */
#define TIFF_INT32_T signed long

/* Signed 64-bit type */
#define TIFF_INT64_T signed long long

/* Signed 8-bit type */
#define TIFF_INT8_T signed char

/* Pointer difference type */
#define TIFF_PTRDIFF_T ptrdiff_t

/* Signed size type */
#define TIFF_SSIZE_T signed long
#if SIZEOF_SIZE_T == 8
#  define TIFF_SSIZE_FORMAT "%lld"
#  define TIFF_SIZE_FORMAT "%lld"
#elif SIZEOF_SIZE_T == 4
#  define TIFF_SSIZE_FORMAT "%ld"
#  define TIFF_SIZE_FORMAT "%ld"
#else
#  error "Unsupported size_t size; please submit a bug report"
#endif
/* Unsigned 16-bit type */
#define TIFF_UINT16_T unsigned short

/* Unsigned 32-bit type */
#define TIFF_UINT32_T unsigned int

/* Unsigned 64-bit type */
#define TIFF_UINT64_T unsigned long long

/* Unsigned 8-bit type */
#define TIFF_UINT8_T unsigned char

/* Signed size type */
#define TIFF_SSIZE_T signed long

/* Pointer difference type */
#define TIFF_PTRDIFF_T ptrdiff_t
 

#ifndef HAVE_GETOPT
#  define HAVE_GETOPT 1
#endif

#define HAVE_ASSERT_H 1

/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1

/* Define as 0 or 1 according to the floating point format suported by the
   machine */

#ifdef __IEEE_FLOAT
#define HAVE_IEEEFP 1
#endif


/* Define to 1 if you have the <sys/types.h> header file. */

/* Define to 1 if you have the <io.h> header file. */
//#define HAVE_IO_H 1

/* Define to 1 if you have the <search.h> header file. */
//#define HAVE_SEARCH_H 1

/* The size of a `int', as computed by sizeof. */
#define SIZEOF_INT 4

/* The size of a `long', as computed by sizeof. */
#define SIZEOF_LONG 4


/* Set the native cpu bit order */
#define HOST_FILLORDER FILLORDER_LSB2MSB

/* Define to 1 if your processor stores words with the most significant byte
   first (like Motorola and SPARC, unlike Intel and VAX). */
/* #undef WORDS_BIGENDIAN */

/* Define to `__inline__' or `__inline' if that's what the C compiler
   calls it, or to nothing if 'inline' is not supported under any name.  */
/*
#ifndef __cplusplus
# ifndef inline
#  define inline __inline
# endif
#endif
*/

/* Support CCITT Group 3 & 4 algorithms */
#define CCITT_SUPPORT 1

/* Pick up YCbCr subsampling info from the JPEG data stream to support files
   lacking the tag (default enabled). */
#define CHECK_JPEG_YCBCR_SUBSAMPLING 1
/* Support C++ stream API (requires C++ compiler) */
#define CXX_SUPPORT 1

/* Treat extra sample as alpha (default enabled). The RGBA interface will
   treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA. Many
      packages produce RGBA files but don't mark the alpha properly. */
#define DEFAULT_EXTRASAMPLE_AS_ALPHA 1

/* little Endian */
#define HOST_BIGENDIAN 0
#define JPEG_SUPPORT 1
#define LOGLUV_SUPPORT 1
/* Support LZW algorithm */
#define LZW_SUPPORT 1

/* Support Microsoft Document Imaging format */
#define MDI_SUPPORT 1

/* Support NeXT 2-bit RLE algorithm */
#define NEXT_SUPPORT 1
#define OJPEG_SUPPORT 1

/* Name of package */
#define PACKAGE "tiff"


/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "tiff@lists.maptools.org"

/* Define to the full name of this package. */
#define PACKAGE_NAME "LibTIFF Software"

/* Define to the full name and version of this package. */
#define PACKAGE_STRING "LibTIFF Software 4.7.1 for VMS"

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "tiff"
#endif /* _TIFFCONF_ */

