1 #ifndef _TIF_CONFIG_H_
2 #define _TIF_CONFIG_H_
3 
4 /* Define to 1 if you have the <assert.h> header file. */
5 #define HAVE_ASSERT_H 1
6 
7 /* Define to 1 if you have the <fcntl.h> header file. */
8 #define HAVE_FCNTL_H 1
9 
10 /* Define as 0 or 1 according to the floating point format suported by the
11    machine */
12 #define HAVE_IEEEFP 1
13 
14 /* Define to 1 if you have the `jbg_newlen' function. */
15 #define HAVE_JBG_NEWLEN 1
16 
17 /* Define to 1 if you have the <string.h> header file. */
18 #define HAVE_STRING_H 1
19 
20 /* Define to 1 if you have the <sys/types.h> header file. */
21 #define HAVE_SYS_TYPES_H 1
22 
23 /* Define to 1 if you have the <io.h> header file. */
24 #define HAVE_IO_H 1
25 
26 /* Define to 1 if you have the <search.h> header file. */
27 #define HAVE_SEARCH_H 1
28 
29 /* Define to 1 if you have the `setmode' function. */
30 #define HAVE_SETMODE 1
31 
32 /* Define to 1 if you have the declaration of `optarg', and to 0 if you don't. */
33 #define HAVE_DECL_OPTARG 0
34 
35 /* The size of a `int', as computed by sizeof. */
36 #define SIZEOF_INT 4
37 
38 /* The size of a `long', as computed by sizeof. */
39 #define SIZEOF_LONG 4
40 
41 /* Signed 64-bit type formatter */
42 #define TIFF_INT64_FORMAT "%I64d"
43 
44 /* Signed 64-bit type */
45 #define TIFF_INT64_T signed __int64
46 
47 /* Unsigned 64-bit type formatter */
48 #define TIFF_UINT64_FORMAT "%I64u"
49 
50 /* Unsigned 64-bit type */
51 #define TIFF_UINT64_T unsigned __int64
52 
53 #if _WIN64
54 /*
55   Windows 64-bit build
56 */
57 
58 /* Pointer difference type */
59 #  define TIFF_PTRDIFF_T TIFF_INT64_T
60 
61 /* The size of `size_t', as computed by sizeof. */
62 #  define SIZEOF_SIZE_T 8
63 
64 /* Size type formatter */
65 #  define TIFF_SIZE_FORMAT TIFF_INT64_FORMAT
66 
67 /* Unsigned size type */
68 #  define TIFF_SIZE_T TIFF_UINT64_T
69 
70 /* Signed size type formatter */
71 #  define TIFF_SSIZE_FORMAT TIFF_INT64_FORMAT
72 
73 /* Signed size type */
74 #  define TIFF_SSIZE_T TIFF_INT64_T
75 
76 #else
77 /*
78   Windows 32-bit build
79 */
80 
81 /* Pointer difference type */
82 #  define TIFF_PTRDIFF_T signed int
83 
84 /* The size of `size_t', as computed by sizeof. */
85 #  define SIZEOF_SIZE_T 4
86 
87 /* Size type formatter */
88 #  define TIFF_SIZE_FORMAT "%u"
89 
90 /* Size type formatter */
91 #  define TIFF_SIZE_FORMAT "%u"
92 
93 /* Unsigned size type */
94 #  define TIFF_SIZE_T unsigned int
95 
96 /* Signed size type formatter */
97 #  define TIFF_SSIZE_FORMAT "%d"
98 
99 /* Signed size type */
100 #  define TIFF_SSIZE_T signed int
101 
102 #endif
103 
104 /* Set the native cpu bit order */
105 #define HOST_FILLORDER FILLORDER_LSB2MSB
106 
107 /* Visual Studio 2015 / VC 14 / MSVC 19.00 finally has snprintf() */
108 #if defined(_MSC_VER) && _MSC_VER < 1900
109 #define snprintf _snprintf
110 #else
111 #define HAVE_SNPRINTF 1
112 #endif
113 
114 /* Define to 1 if your processor stores words with the most significant byte
115    first (like Motorola and SPARC, unlike Intel and VAX). */
116 /* #undef WORDS_BIGENDIAN */
117 
118 /* Define to `__inline__' or `__inline' if that's what the C compiler
119    calls it, or to nothing if 'inline' is not supported under any name.  */
120 #ifndef __cplusplus
121 # ifndef inline
122 #  define inline __inline
123 # endif
124 #endif
125 
126 #define lfind _lfind
127 
128 #pragma warning(disable : 4996) /* function deprecation warnings */
129 
130 #endif /* _TIF_CONFIG_H_ */
131 /*
132  * Local Variables:
133  * mode: c
134  * c-basic-offset: 8
135  * fill-column: 78
136  * End:
137  */
138