tif_config.vc.h 3.1 KB

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