]>
git.saurik.com Git - wxWidgets.git/blob - src/tiff/libtiff/tif_config.h
3 /* Define to 1 if you have the <assert.h> header file. */
4 #define HAVE_ASSERT_H 1
6 /* Define to 1 if you have the <dlfcn.h> header file. */
9 /* Define to 1 if you have the <fcntl.h> header file. */
10 #define HAVE_FCNTL_H 1
12 /* Define to 1 if you have the `floor' function. */
15 /* Define to 1 if you have the `getopt' function. */
18 /* Define to 1 if you have the <GLUT/glut.h> header file. */
19 #define HAVE_GLUT_GLUT_H 1
21 /* Define to 1 if you have the <GL/glut.h> header file. */
22 #define HAVE_GL_GLUT_H 1
24 /* Define to 1 if you have the <GL/glu.h> header file. */
25 #define HAVE_GL_GLU_H 1
27 /* Define to 1 if you have the <GL/gl.h> header file. */
28 #define HAVE_GL_GL_H 1
30 /* Define as 0 or 1 according to the floating point format suported by the
34 /* Define to 1 if the system has the type `int16'. */
35 /* #undef HAVE_INT16 */
37 /* Define to 1 if the system has the type `int32'. */
38 /* #undef HAVE_INT32 */
40 /* Define to 1 if the system has the type `int8'. */
41 /* #undef HAVE_INT8 */
43 /* Define to 1 if you have the <inttypes.h> header file. */
44 #define HAVE_INTTYPES_H 1
46 /* Define to 1 if you have the <io.h> header file. */
47 /* #undef HAVE_IO_H */
49 /* Define to 1 if you have the `isascii' function. */
50 #define HAVE_ISASCII 1
52 /* Define to 1 if you have the `jbg_newlen' function. */
53 /* #undef HAVE_JBG_NEWLEN */
55 /* Define to 1 if you have the `lfind' function. */
58 /* Define to 1 if you have the `m' library (-lm). */
59 /* #undef HAVE_LIBM */
61 /* Define to 1 if you have the <limits.h> header file. */
62 #define HAVE_LIMITS_H 1
64 /* Define to 1 if you have the <malloc.h> header file. */
65 /* #undef HAVE_MALLOC_H */
67 /* Define to 1 if you have the `memmove' function. */
68 #define HAVE_MEMMOVE 1
70 /* Define to 1 if you have the <memory.h> header file. */
71 #define HAVE_MEMORY_H 1
73 /* Define to 1 if you have the `memset' function. */
76 /* Define to 1 if you have the `mmap' function. */
79 /* Define to 1 if you have the <OpenGL/glu.h> header file. */
80 #define HAVE_OPENGL_GLU_H 1
82 /* Define to 1 if you have the <OpenGL/gl.h> header file. */
83 #define HAVE_OPENGL_GL_H 1
85 /* Define to 1 if you have the `pow' function. */
88 /* Define if you have POSIX threads libraries and header files. */
89 #define HAVE_PTHREAD 1
91 /* Define to 1 if you have the <search.h> header file. */
92 #define HAVE_SEARCH_H 1
94 /* Define to 1 if you have the `setmode' function. */
95 #define HAVE_SETMODE 1
97 /* Define to 1 if you have the `sqrt' function. */
100 /* Define to 1 if you have the <stdint.h> header file. */
101 #define HAVE_STDINT_H 1
103 /* Define to 1 if you have the <stdlib.h> header file. */
104 #define HAVE_STDLIB_H 1
106 /* Define to 1 if you have the `strcasecmp' function. */
107 #define HAVE_STRCASECMP 1
109 /* Define to 1 if you have the `strchr' function. */
110 #define HAVE_STRCHR 1
112 /* Define to 1 if you have the <strings.h> header file. */
113 #define HAVE_STRINGS_H 1
115 /* Define to 1 if you have the <string.h> header file. */
116 #define HAVE_STRING_H 1
118 /* Define to 1 if you have the `strrchr' function. */
119 #define HAVE_STRRCHR 1
121 /* Define to 1 if you have the `strstr' function. */
122 #define HAVE_STRSTR 1
124 /* Define to 1 if you have the `strtol' function. */
125 #define HAVE_STRTOL 1
127 /* Define to 1 if you have the `strtoul' function. */
128 #define HAVE_STRTOUL 1
130 /* Define to 1 if you have the `strtoull' function. */
131 #define HAVE_STRTOULL 1
133 /* Define to 1 if you have the <sys/stat.h> header file. */
134 #define HAVE_SYS_STAT_H 1
136 /* Define to 1 if you have the <sys/time.h> header file. */
137 #define HAVE_SYS_TIME_H 1
139 /* Define to 1 if you have the <sys/types.h> header file. */
140 #define HAVE_SYS_TYPES_H 1
142 /* Define to 1 if you have the <unistd.h> header file. */
143 #define HAVE_UNISTD_H 1
145 /* Use nonstandard varargs form for the GLU tesselator callback */
146 /* #undef HAVE_VARARGS_GLU_TESSCB */
148 /* Define to 1 if you have the <windows.h> header file. */
149 /* #undef HAVE_WINDOWS_H */
151 #ifdef __BIG_ENDIAN__
152 /* Set the native cpu bit order */
153 #define HOST_FILLORDER FILLORDER_MSB2LSB
155 /* Define to 1 if your processor stores words with the most significant byte
156 first (like Motorola and SPARC, unlike Intel and VAX). */
157 #define WORDS_BIGENDIAN 1
159 /* Set the native cpu bit order */
160 #define HOST_FILLORDER FILLORDER_LSB2MSB
162 /* Define to 1 if your processor stores words with the most significant byte
163 first (like Motorola and SPARC, unlike Intel and VAX). */
164 /* #undef WORDS_BIGENDIAN */
167 /* Define to `__inline__' or `__inline' if that's what the C compiler
168 calls it, or to nothing if 'inline' is not supported under any name. */
171 # define inline __inline
175 /* Support ISO JBIG compression (requires JBIG-KIT library) */
176 /* #undef JBIG_SUPPORT */
178 /* 8/12 bit libjpeg dual mode enabled */
179 /* #undef JPEG_DUAL_MODE_8_12 */
181 /* Support JPEG compression (requires IJG JPEG library) */
182 /* #undef JPEG_SUPPORT */
184 /* 12bit libjpeg primary include file with path */
185 /* #undef LIBJPEG_12_PATH */
187 /* Support LogLuv high dynamic range encoding */
188 #define LOGLUV_SUPPORT 1
190 /* Define to the sub-directory in which libtool stores uninstalled libraries.
192 #define LT_OBJDIR ".libs/"
194 /* Support LZMA2 compression */
195 /* #undef LZMA_SUPPORT */
197 /* Support LZW algorithm */
198 #define LZW_SUPPORT 1
200 /* Support Microsoft Document Imaging format */
201 #define MDI_SUPPORT 1
203 /* Support NeXT 2-bit RLE algorithm */
204 #define NEXT_SUPPORT 1
206 /* Define to 1 if your C compiler doesn't accept -c and -o together. */
207 /* #undef NO_MINUS_C_MINUS_O */
209 /* Support Old JPEG compresson (read-only) */
210 /* #undef OJPEG_SUPPORT */
212 /* Support Macintosh PackBits algorithm */
213 #define PACKBITS_SUPPORT 1
215 /* Support Pixar log-format algorithm (requires Zlib) */
216 #define PIXARLOG_SUPPORT 1
218 /* Define to necessary symbol if this constant uses a non-standard name on
220 /* #undef PTHREAD_CREATE_JOINABLE */
222 /* The size of `signed int', as computed by sizeof. */
223 #define SIZEOF_SIGNED_INT 4
225 /* The size of `signed long', as computed by sizeof. */
226 #define SIZEOF_SIGNED_LONG 4
228 /* The size of `signed long long', as computed by sizeof. */
229 #define SIZEOF_SIGNED_LONG_LONG 8
231 /* The size of `signed short', as computed by sizeof. */
232 #define SIZEOF_SIGNED_SHORT 2
234 /* The size of `unsigned char *', as computed by sizeof. */
235 #define SIZEOF_UNSIGNED_CHAR_P 4
237 /* The size of `unsigned int', as computed by sizeof. */
238 #define SIZEOF_UNSIGNED_INT 4
240 /* The size of `unsigned long', as computed by sizeof. */
241 #define SIZEOF_UNSIGNED_LONG 4
243 /* The size of `unsigned long long', as computed by sizeof. */
244 #define SIZEOF_UNSIGNED_LONG_LONG 8
246 /* The size of `unsigned short', as computed by sizeof. */
247 #define SIZEOF_UNSIGNED_SHORT 2
249 /* Define to 1 if you have the ANSI C header files. */
250 #define STDC_HEADERS 1
252 /* Support strip chopping (whether or not to convert single-strip uncompressed
253 images to mutiple strips of specified size to reduce memory usage) */
254 #define STRIPCHOP_DEFAULT TIFF_STRIPCHOP
256 /* Default size of the strip in bytes (when strip chopping enabled) */
257 #define STRIP_SIZE_DEFAULT 8192
259 /* Enable SubIFD tag (330) support */
260 #define SUBIFD_SUPPORT 1
262 /* Support ThunderScan 4-bit RLE algorithm */
263 #define THUNDER_SUPPORT 1
265 /* Signed 16-bit type */
266 #define TIFF_INT16_T signed short
268 /* Signed 32-bit type formatter */
269 #define TIFF_INT32_FORMAT "%d"
271 /* Signed 32-bit type */
272 #define TIFF_INT32_T signed int
274 /* Signed 64-bit type formatter */
275 #define TIFF_INT64_FORMAT "%lld"
277 /* Signed 64-bit type */
278 #define TIFF_INT64_T signed long long
280 /* Signed 8-bit type */
281 #define TIFF_INT8_T signed char
283 /* Pointer difference type formatter */
284 #define TIFF_PTRDIFF_FORMAT "%ld"
286 /* Pointer difference type */
287 #define TIFF_PTRDIFF_T ptrdiff_t
289 /* Signed size type formatter */
290 #define TIFF_SSIZE_FORMAT "%ld"
292 /* Signed size type */
293 #define TIFF_SSIZE_T signed long
295 /* Unsigned 16-bit type */
296 #define TIFF_UINT16_T unsigned short
298 /* Unsigned 32-bit type formatter */
299 #define TIFF_UINT32_FORMAT "%u"
301 /* Unsigned 32-bit type */
302 #define TIFF_UINT32_T unsigned int
304 /* Unsigned 64-bit type formatter */
305 #define TIFF_UINT64_FORMAT "%llu"
307 /* Unsigned 64-bit type */
308 #define TIFF_UINT64_T unsigned long long
310 /* Unsigned 8-bit type */
311 #define TIFF_UINT8_T unsigned char
313 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
314 #define TIME_WITH_SYS_TIME 1
316 #else /* __APPLE__ */
318 /* Define to 1 if you have the <assert.h> header file. */
319 #define HAVE_ASSERT_H 1
321 /* Define to 1 if you have the <fcntl.h> header file. */
322 #define HAVE_FCNTL_H 1
324 /* Define as 0 or 1 according to the floating point format suported by the
326 #define HAVE_IEEEFP 1
328 /* Define to 1 if you have the `jbg_newlen' function. */
329 #define HAVE_JBG_NEWLEN 1
331 /* Define to 1 if you have the <string.h> header file. */
332 #define HAVE_STRING_H 1
334 /* Define to 1 if you have the <sys/types.h> header file. */
335 #define HAVE_SYS_TYPES_H 1
337 /* Define to 1 if you have the <io.h> header file. */
340 /* Define to 1 if you have the <search.h> header file. */
341 #define HAVE_SEARCH_H 1
343 /* Define to 1 if you have the `setmode' function. */
344 #define HAVE_SETMODE 1
346 /* The size of a `int', as computed by sizeof. */
349 /* The size of a `long', as computed by sizeof. */
350 #define SIZEOF_LONG 4
352 /* Signed 64-bit type formatter */
353 #define TIFF_INT64_FORMAT "%I64d"
355 /* Signed 64-bit type */
356 #define TIFF_INT64_T signed __int64
358 /* Unsigned 64-bit type formatter */
359 #define TIFF_UINT64_FORMAT "%I64u"
361 /* Unsigned 64-bit type */
362 #define TIFF_UINT64_T unsigned __int64
364 /* Set the native cpu bit order */
365 #define HOST_FILLORDER FILLORDER_LSB2MSB
367 #define snprintf _snprintf
369 /* Define to 1 if your processor stores words with the most significant byte
370 first (like Motorola and SPARC, unlike Intel and VAX). */
371 /* #undef WORDS_BIGENDIAN */
373 /* Define to `__inline__' or `__inline' if that's what the C compiler
374 calls it, or to nothing if 'inline' is not supported under any name. */
377 # define inline __inline
381 #if !defined (__BORLANDC__) && !defined (__WATCOMC__)
392 # undef HAVE_SYS_TYPES_H
395 CE headers don't define these standard constants (not even underscored
396 versions), provide our own replacements as they seem to be only used in
397 libtiff own code anyhow.
399 # define O_RDONLY 0x0000
400 # define O_WRONLY 0x0001
401 # define O_RDWR 0x0002
402 # define O_CREAT 0x0100
403 # define O_TRUNC 0x0200
404 # define O_EXCL 0x0400
405 #endif /* _WIN32_WCE */
407 #endif /* __APPLE__/!__APPLE__ */