config-win.h 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. /* config.h for compiling liblzma (*not* the whole XZ Utils) with MSVC 2017 */
  2. /* Prefix for symbols exported by tuklib_*.c files */
  3. #define TUKLIB_SYMBOL_PREFIX lzma_
  4. /* How many MiB of RAM to assume if the real amount cannot be determined. */
  5. #define ASSUME_RAM 128
  6. /* Define to 1 if crc32 integrity check is enabled. */
  7. #define HAVE_CHECK_CRC32 1
  8. /* Define to 1 if crc64 integrity check is enabled. */
  9. #define HAVE_CHECK_CRC64 1
  10. /* Define to 1 if sha256 integrity check is enabled. */
  11. #define HAVE_CHECK_SHA256 1
  12. /* Define to 1 if any of HAVE_DECODER_foo have been defined. */
  13. #define HAVE_DECODERS 1
  14. /* Define to 1 if arm decoder is enabled. */
  15. #define HAVE_DECODER_ARM 1
  16. /* Define to 1 if armthumb decoder is enabled. */
  17. #define HAVE_DECODER_ARMTHUMB 1
  18. /* Define to 1 if delta decoder is enabled. */
  19. #define HAVE_DECODER_DELTA 1
  20. /* Define to 1 if ia64 decoder is enabled. */
  21. #define HAVE_DECODER_IA64 1
  22. /* Define to 1 if lzma1 decoder is enabled. */
  23. #define HAVE_DECODER_LZMA1 1
  24. /* Define to 1 if lzma2 decoder is enabled. */
  25. #define HAVE_DECODER_LZMA2 1
  26. /* Define to 1 if powerpc decoder is enabled. */
  27. #define HAVE_DECODER_POWERPC 1
  28. /* Define to 1 if sparc decoder is enabled. */
  29. #define HAVE_DECODER_SPARC 1
  30. /* Define to 1 if x86 decoder is enabled. */
  31. #define HAVE_DECODER_X86 1
  32. /* Define to 1 if any of HAVE_ENCODER_foo have been defined. */
  33. #define HAVE_ENCODERS 1
  34. /* Define to 1 if arm encoder is enabled. */
  35. #define HAVE_ENCODER_ARM 1
  36. /* Define to 1 if armthumb encoder is enabled. */
  37. #define HAVE_ENCODER_ARMTHUMB 1
  38. /* Define to 1 if delta encoder is enabled. */
  39. #define HAVE_ENCODER_DELTA 1
  40. /* Define to 1 if ia64 encoder is enabled. */
  41. #define HAVE_ENCODER_IA64 1
  42. /* Define to 1 if lzma1 encoder is enabled. */
  43. #define HAVE_ENCODER_LZMA1 1
  44. /* Define to 1 if lzma2 encoder is enabled. */
  45. #define HAVE_ENCODER_LZMA2 1
  46. /* Define to 1 if powerpc encoder is enabled. */
  47. #define HAVE_ENCODER_POWERPC 1
  48. /* Define to 1 if sparc encoder is enabled. */
  49. #define HAVE_ENCODER_SPARC 1
  50. /* Define to 1 if x86 encoder is enabled. */
  51. #define HAVE_ENCODER_X86 1
  52. /* Define to 1 if you have the <inttypes.h> header file. */
  53. #define HAVE_INTTYPES_H 1
  54. /* Define to 1 if you have the <limits.h> header file. */
  55. #define HAVE_LIMITS_H 1
  56. /* Define to 1 to enable bt2 match finder. */
  57. #define HAVE_MF_BT2 1
  58. /* Define to 1 to enable bt3 match finder. */
  59. #define HAVE_MF_BT3 1
  60. /* Define to 1 to enable bt4 match finder. */
  61. #define HAVE_MF_BT4 1
  62. /* Define to 1 to enable hc3 match finder. */
  63. #define HAVE_MF_HC3 1
  64. /* Define to 1 to enable hc4 match finder. */
  65. #define HAVE_MF_HC4 1
  66. /* Define to 1 if stdbool.h conforms to C99. */
  67. #define HAVE_STDBOOL_H 1
  68. /* Define to 1 if you have the <stdint.h> header file. */
  69. #define HAVE_STDINT_H 1
  70. /* Define to 1 if you have the <stdlib.h> header file. */
  71. #define HAVE_STDLIB_H 1
  72. /* Define to 1 if you have the <string.h> header file. */
  73. #define HAVE_STRING_H 1
  74. /* Define to 1 or 0, depending whether the compiler supports simple visibility
  75. declarations. */
  76. #define HAVE_VISIBILITY 0
  77. /* Define to 1 if the system has the type `_Bool'. */
  78. #define HAVE__BOOL 1
  79. #ifdef _M_IX86
  80. /* Define to 1 when using Windows 95 (and thus XP) compatible threads. This
  81. avoids use of features that were added in Windows Vista.
  82. This is used for 32-bit x86 builds for compatibility reasons since it
  83. makes no measurable difference in performance compared to Vista threads. */
  84. #define MYTHREAD_WIN95 1
  85. #else
  86. /* Define to 1 when using Windows Vista compatible threads. This uses features
  87. that are not available on Windows XP. */
  88. #define MYTHREAD_VISTA 1
  89. #endif
  90. /* Define to 1 to disable debugging code. */
  91. #define NDEBUG 1
  92. /* Define to the full name of this package. */
  93. #define PACKAGE_NAME "XZ Utils"
  94. /* Define to the home page for this package. */
  95. #define PACKAGE_URL "https://tukaani.org/xz/"
  96. /* The size of `size_t', as computed by sizeof. */
  97. #ifdef _WIN64
  98. #define SIZEOF_SIZE_T 8
  99. #else
  100. #define SIZEOF_SIZE_T 4
  101. #endif
  102. /* Define to 1 if the system supports fast unaligned access to 16-bit and
  103. 32-bit integers. */
  104. #define TUKLIB_FAST_UNALIGNED_ACCESS 1