1 #ifdef __APPLE__ 2 3 /* Define to 1 if you have the <assert.h> header file. */ 4 #define HAVE_ASSERT_H 1 5 6 /* Define to 1 if you have the <dlfcn.h> header file. */ 7 #define HAVE_DLFCN_H 1 8 9 /* Define to 1 if you have the <fcntl.h> header file. */ 10 #define HAVE_FCNTL_H 1 11 12 /* Define to 1 if you have the `floor' function. */ 13 #define HAVE_FLOOR 1 14 15 /* Define to 1 if you have the `getopt' function. */ 16 #define HAVE_GETOPT 1 17 18 /* Define to 1 if you have the <GLUT/glut.h> header file. */ 19 #define HAVE_GLUT_GLUT_H 1 20 21 /* Define to 1 if you have the <GL/glut.h> header file. */ 22 #define HAVE_GL_GLUT_H 1 23 24 /* Define to 1 if you have the <GL/glu.h> header file. */ 25 #define HAVE_GL_GLU_H 1 26 27 /* Define to 1 if you have the <GL/gl.h> header file. */ 28 #define HAVE_GL_GL_H 1 29 30 /* Define as 0 or 1 according to the floating point format suported by the 31 machine */ 32 #define HAVE_IEEEFP 1 33 34 /* Define to 1 if the system has the type `int16'. */ 35 /* #undef HAVE_INT16 */ 36 37 /* Define to 1 if the system has the type `int32'. */ 38 /* #undef HAVE_INT32 */ 39 40 /* Define to 1 if the system has the type `int8'. */ 41 /* #undef HAVE_INT8 */ 42 43 /* Define to 1 if you have the <inttypes.h> header file. */ 44 #define HAVE_INTTYPES_H 1 45 46 /* Define to 1 if you have the <io.h> header file. */ 47 /* #undef HAVE_IO_H */ 48 49 /* Define to 1 if you have the `isascii' function. */ 50 #define HAVE_ISASCII 1 51 52 /* Define to 1 if you have the `jbg_newlen' function. */ 53 /* #undef HAVE_JBG_NEWLEN */ 54 55 /* Define to 1 if you have the `lfind' function. */ 56 #define HAVE_LFIND 1 57 58 /* Define to 1 if you have the `m' library (-lm). */ 59 /* #undef HAVE_LIBM */ 60 61 /* Define to 1 if you have the <limits.h> header file. */ 62 #define HAVE_LIMITS_H 1 63 64 /* Define to 1 if you have the <malloc.h> header file. */ 65 /* #undef HAVE_MALLOC_H */ 66 67 /* Define to 1 if you have the `memmove' function. */ 68 #define HAVE_MEMMOVE 1 69 70 /* Define to 1 if you have the <memory.h> header file. */ 71 #define HAVE_MEMORY_H 1 72 73 /* Define to 1 if you have the `memset' function. */ 74 #define HAVE_MEMSET 1 75 76 /* Define to 1 if you have the `mmap' function. */ 77 #define HAVE_MMAP 1 78 79 /* Define to 1 if you have the <OpenGL/glu.h> header file. */ 80 #define HAVE_OPENGL_GLU_H 1 81 82 /* Define to 1 if you have the <OpenGL/gl.h> header file. */ 83 #define HAVE_OPENGL_GL_H 1 84 85 /* Define to 1 if you have the `pow' function. */ 86 #define HAVE_POW 1 87 88 /* Define if you have POSIX threads libraries and header files. */ 89 #define HAVE_PTHREAD 1 90 91 /* Define to 1 if you have the <search.h> header file. */ 92 #define HAVE_SEARCH_H 1 93 94 /* Define to 1 if you have the `setmode' function. */ 95 #define HAVE_SETMODE 1 96 97 /* Define to 1 if you have the `sqrt' function. */ 98 #define HAVE_SQRT 1 99 100 /* Define to 1 if you have the <stdint.h> header file. */ 101 #define HAVE_STDINT_H 1 102 103 /* Define to 1 if you have the <stdlib.h> header file. */ 104 #define HAVE_STDLIB_H 1 105 106 /* Define to 1 if you have the `strcasecmp' function. */ 107 #define HAVE_STRCASECMP 1 108 109 /* Define to 1 if you have the `strchr' function. */ 110 #define HAVE_STRCHR 1 111 112 /* Define to 1 if you have the <strings.h> header file. */ 113 #define HAVE_STRINGS_H 1 114 115 /* Define to 1 if you have the <string.h> header file. */ 116 #define HAVE_STRING_H 1 117 118 /* Define to 1 if you have the `strrchr' function. */ 119 #define HAVE_STRRCHR 1 120 121 /* Define to 1 if you have the `strstr' function. */ 122 #define HAVE_STRSTR 1 123 124 /* Define to 1 if you have the `strtol' function. */ 125 #define HAVE_STRTOL 1 126 127 /* Define to 1 if you have the `strtoul' function. */ 128 #define HAVE_STRTOUL 1 129 130 /* Define to 1 if you have the `strtoull' function. */ 131 #define HAVE_STRTOULL 1 132 133 /* Define to 1 if you have the <sys/stat.h> header file. */ 134 #define HAVE_SYS_STAT_H 1 135 136 /* Define to 1 if you have the <sys/time.h> header file. */ 137 #define HAVE_SYS_TIME_H 1 138 139 /* Define to 1 if you have the <sys/types.h> header file. */ 140 #define HAVE_SYS_TYPES_H 1 141 142 /* Define to 1 if you have the <unistd.h> header file. */ 143 #define HAVE_UNISTD_H 1 144 145 /* Use nonstandard varargs form for the GLU tesselator callback */ 146 /* #undef HAVE_VARARGS_GLU_TESSCB */ 147 148 /* Define to 1 if you have the <windows.h> header file. */ 149 /* #undef HAVE_WINDOWS_H */ 150 151 #ifdef __BIG_ENDIAN__ 152 /* Set the native cpu bit order */ 153 #define HOST_FILLORDER FILLORDER_MSB2LSB 154 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 158 #else 159 /* Set the native cpu bit order */ 160 #define HOST_FILLORDER FILLORDER_LSB2MSB 161 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 */ 165 #endif 166 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. */ 169 #ifndef __cplusplus 170 # ifndef inline 171 # define inline __inline 172 # endif 173 #endif 174 175 /* Support ISO JBIG compression (requires JBIG-KIT library) */ 176 /* #undef JBIG_SUPPORT */ 177 178 /* 8/12 bit libjpeg dual mode enabled */ 179 /* #undef JPEG_DUAL_MODE_8_12 */ 180 181 /* Support JPEG compression (requires IJG JPEG library) */ 182 /* #undef JPEG_SUPPORT */ 183 184 /* 12bit libjpeg primary include file with path */ 185 /* #undef LIBJPEG_12_PATH */ 186 187 /* Support LogLuv high dynamic range encoding */ 188 #define LOGLUV_SUPPORT 1 189 190 /* Define to the sub-directory in which libtool stores uninstalled libraries. 191 */ 192 #define LT_OBJDIR ".libs/" 193 194 /* Support LZMA2 compression */ 195 /* #undef LZMA_SUPPORT */ 196 197 /* Support LZW algorithm */ 198 #define LZW_SUPPORT 1 199 200 /* Support Microsoft Document Imaging format */ 201 #define MDI_SUPPORT 1 202 203 /* Support NeXT 2-bit RLE algorithm */ 204 #define NEXT_SUPPORT 1 205 206 /* Define to 1 if your C compiler doesn't accept -c and -o together. */ 207 /* #undef NO_MINUS_C_MINUS_O */ 208 209 /* Support Old JPEG compresson (read-only) */ 210 /* #undef OJPEG_SUPPORT */ 211 212 /* Support Macintosh PackBits algorithm */ 213 #define PACKBITS_SUPPORT 1 214 215 /* Support Pixar log-format algorithm (requires Zlib) */ 216 #define PIXARLOG_SUPPORT 1 217 218 /* Define to necessary symbol if this constant uses a non-standard name on 219 your system. */ 220 /* #undef PTHREAD_CREATE_JOINABLE */ 221 222 /* The size of `signed int', as computed by sizeof. */ 223 #define SIZEOF_SIGNED_INT 4 224 225 /* The size of `signed long', as computed by sizeof. */ 226 #define SIZEOF_SIGNED_LONG 4 227 228 /* The size of `signed long long', as computed by sizeof. */ 229 #define SIZEOF_SIGNED_LONG_LONG 8 230 231 /* The size of `signed short', as computed by sizeof. */ 232 #define SIZEOF_SIGNED_SHORT 2 233 234 /* The size of `unsigned char *', as computed by sizeof. */ 235 #define SIZEOF_UNSIGNED_CHAR_P 4 236 237 /* The size of `unsigned int', as computed by sizeof. */ 238 #define SIZEOF_UNSIGNED_INT 4 239 240 /* The size of `unsigned long', as computed by sizeof. */ 241 #define SIZEOF_UNSIGNED_LONG 4 242 243 /* The size of `unsigned long long', as computed by sizeof. */ 244 #define SIZEOF_UNSIGNED_LONG_LONG 8 245 246 /* The size of `unsigned short', as computed by sizeof. */ 247 #define SIZEOF_UNSIGNED_SHORT 2 248 249 /* Define to 1 if you have the ANSI C header files. */ 250 #define STDC_HEADERS 1 251 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 255 256 /* Default size of the strip in bytes (when strip chopping enabled) */ 257 #define STRIP_SIZE_DEFAULT 8192 258 259 /* Enable SubIFD tag (330) support */ 260 #define SUBIFD_SUPPORT 1 261 262 /* Support ThunderScan 4-bit RLE algorithm */ 263 #define THUNDER_SUPPORT 1 264 265 /* Signed 16-bit type */ 266 #define TIFF_INT16_T signed short 267 268 /* Signed 32-bit type formatter */ 269 #define TIFF_INT32_FORMAT "%d" 270 271 /* Signed 32-bit type */ 272 #define TIFF_INT32_T signed int 273 274 /* Signed 64-bit type formatter */ 275 #define TIFF_INT64_FORMAT "%lld" 276 277 /* Signed 64-bit type */ 278 #define TIFF_INT64_T signed long long 279 280 /* Signed 8-bit type */ 281 #define TIFF_INT8_T signed char 282 283 /* Pointer difference type formatter */ 284 #define TIFF_PTRDIFF_FORMAT "%ld" 285 286 /* Pointer difference type */ 287 #define TIFF_PTRDIFF_T ptrdiff_t 288 289 /* Signed size type formatter */ 290 #define TIFF_SSIZE_FORMAT "%ld" 291 292 /* Signed size type */ 293 #define TIFF_SSIZE_T signed long 294 295 /* Unsigned 16-bit type */ 296 #define TIFF_UINT16_T unsigned short 297 298 /* Unsigned 32-bit type formatter */ 299 #define TIFF_UINT32_FORMAT "%u" 300 301 /* Unsigned 32-bit type */ 302 #define TIFF_UINT32_T unsigned int 303 304 /* Unsigned 64-bit type formatter */ 305 #define TIFF_UINT64_FORMAT "%llu" 306 307 /* Unsigned 64-bit type */ 308 #define TIFF_UINT64_T unsigned long long 309 310 /* Unsigned 8-bit type */ 311 #define TIFF_UINT8_T unsigned char 312 313 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 314 #define TIME_WITH_SYS_TIME 1 315 316 #else /* __APPLE__ */ 317 318 /* Define to 1 if you have the <assert.h> header file. */ 319 #define HAVE_ASSERT_H 1 320 321 /* Define to 1 if you have the <fcntl.h> header file. */ 322 #define HAVE_FCNTL_H 1 323 324 /* Define as 0 or 1 according to the floating point format suported by the 325 machine */ 326 #define HAVE_IEEEFP 1 327 328 /* Define to 1 if you have the `jbg_newlen' function. */ 329 #define HAVE_JBG_NEWLEN 1 330 331 /* Define to 1 if you have the <string.h> header file. */ 332 #define HAVE_STRING_H 1 333 334 /* Define to 1 if you have the <sys/types.h> header file. */ 335 #define HAVE_SYS_TYPES_H 1 336 337 /* Define to 1 if you have the <io.h> header file. */ 338 #define HAVE_IO_H 1 339 340 /* Define to 1 if you have the <search.h> header file. */ 341 #define HAVE_SEARCH_H 1 342 343 /* Define to 1 if you have the `setmode' function. */ 344 #define HAVE_SETMODE 1 345 346 /* The size of a `int', as computed by sizeof. */ 347 #define SIZEOF_INT 4 348 349 /* The size of a `long', as computed by sizeof. */ 350 #define SIZEOF_LONG 4 351 352 /* Signed 64-bit type formatter */ 353 #define TIFF_INT64_FORMAT "%I64d" 354 355 /* Signed 64-bit type */ 356 #define TIFF_INT64_T signed __int64 357 358 /* Unsigned 64-bit type formatter */ 359 #define TIFF_UINT64_FORMAT "%I64u" 360 361 /* Unsigned 64-bit type */ 362 #define TIFF_UINT64_T unsigned __int64 363 364 /* Set the native cpu bit order */ 365 #define HOST_FILLORDER FILLORDER_LSB2MSB 366 367 /* 368 Use _snprintf() with older versions of MSVC and MinGW. 369 370 Note that we can't do this unconditionally as starting from the version 371 which does have it (MSVS 2015 a.k.a. MSVC 14 a.k.a. _MSC_VER 19.00), it 372 doesn't allow redefining snprintf any longer. 373 374 Also, MinGW-w32 6.3 uses macro-hackery in its stdio.h which breaks if it is 375 redefined so, again, only do this for earlier versions. 376 */ 377 #if (defined(_MSC_VER) && _MSC_VER < 1900) || \ 378 (defined(__MINGW32__) && __GNUC__ < 6) 379 # define snprintf _snprintf 380 #endif 381 382 /* Define to 1 if your processor stores words with the most significant byte 383 first (like Motorola and SPARC, unlike Intel and VAX). */ 384 /* #undef WORDS_BIGENDIAN */ 385 386 /* Define to `__inline__' or `__inline' if that's what the C compiler 387 calls it, or to nothing if 'inline' is not supported under any name. */ 388 #ifndef __cplusplus 389 # ifndef inline 390 # define inline __inline 391 # endif 392 #endif 393 394 #if !defined (__BORLANDC__) && !defined (__WATCOMC__) 395 #define lfind _lfind 396 #endif 397 398 #ifdef __DMC__ 399 #define HAVE_INT32 400 typedef long int32; 401 #endif 402 403 #ifdef _WIN32_WCE 404 # undef HAVE_FCNTL_H 405 # undef HAVE_SYS_TYPES_H 406 407 /* 408 CE headers don't define these standard constants (not even underscored 409 versions), provide our own replacements as they seem to be only used in 410 libtiff own code anyhow. 411 */ 412 # define O_RDONLY 0x0000 413 # define O_WRONLY 0x0001 414 # define O_RDWR 0x0002 415 # define O_CREAT 0x0100 416 # define O_TRUNC 0x0200 417 # define O_EXCL 0x0400 418 #endif /* _WIN32_WCE */ 419 420 #endif /* __APPLE__/!__APPLE__ */ 421 /* 422 * Local Variables: 423 * mode: c 424 * c-basic-offset: 8 425 * fill-column: 78 426 * End: 427 */ 428