CMake: Require VS2015 or later for building xzdec.
[xz.git] / windows / vs2019 / config.h
blob6679da9a2c74915b40d3b8c24fdf9085d6f63b38
1 /* config.h for compiling liblzma (*not* the whole XZ Utils) with MSVC 2019 */
3 /* Prefix for symbols exported by tuklib_*.c files */
4 #define TUKLIB_SYMBOL_PREFIX lzma_
6 /* How many MiB of RAM to assume if the real amount cannot be determined. */
7 #define ASSUME_RAM 128
9 /* Define to 1 if crc32 integrity check is enabled. */
10 #define HAVE_CHECK_CRC32 1
12 /* Define to 1 if crc64 integrity check is enabled. */
13 #define HAVE_CHECK_CRC64 1
15 /* Define to 1 if sha256 integrity check is enabled. */
16 #define HAVE_CHECK_SHA256 1
18 /* Define to 1 if any of HAVE_DECODER_foo have been defined. */
19 #define HAVE_DECODERS 1
21 /* Define to 1 if arm decoder is enabled. */
22 #define HAVE_DECODER_ARM 1
24 /* Define to 1 if arm64 decoder is enabled. */
25 #define HAVE_DECODER_ARM64 1
27 /* Define to 1 if armthumb decoder is enabled. */
28 #define HAVE_DECODER_ARMTHUMB 1
30 /* Define to 1 if delta decoder is enabled. */
31 #define HAVE_DECODER_DELTA 1
33 /* Define to 1 if ia64 decoder is enabled. */
34 #define HAVE_DECODER_IA64 1
36 /* Define to 1 if lzma1 decoder is enabled. */
37 #define HAVE_DECODER_LZMA1 1
39 /* Define to 1 if lzma2 decoder is enabled. */
40 #define HAVE_DECODER_LZMA2 1
42 /* Define to 1 if powerpc decoder is enabled. */
43 #define HAVE_DECODER_POWERPC 1
45 /* Define to 1 if sparc decoder is enabled. */
46 #define HAVE_DECODER_SPARC 1
48 /* Define to 1 if x86 decoder is enabled. */
49 #define HAVE_DECODER_X86 1
51 /* Define to 1 if any of HAVE_ENCODER_foo have been defined. */
52 #define HAVE_ENCODERS 1
54 /* Define to 1 if arm encoder is enabled. */
55 #define HAVE_ENCODER_ARM 1
57 /* Define to 1 if arm64 encoder is enabled. */
58 #define HAVE_ENCODER_ARM64 1
60 /* Define to 1 if armthumb encoder is enabled. */
61 #define HAVE_ENCODER_ARMTHUMB 1
63 /* Define to 1 if delta encoder is enabled. */
64 #define HAVE_ENCODER_DELTA 1
66 /* Define to 1 if ia64 encoder is enabled. */
67 #define HAVE_ENCODER_IA64 1
69 /* Define to 1 if lzma1 encoder is enabled. */
70 #define HAVE_ENCODER_LZMA1 1
72 /* Define to 1 if lzma2 encoder is enabled. */
73 #define HAVE_ENCODER_LZMA2 1
75 /* Define to 1 if powerpc encoder is enabled. */
76 #define HAVE_ENCODER_POWERPC 1
78 /* Define to 1 if sparc encoder is enabled. */
79 #define HAVE_ENCODER_SPARC 1
81 /* Define to 1 if x86 encoder is enabled. */
82 #define HAVE_ENCODER_X86 1
84 /* Define to 1 if you have the <inttypes.h> header file. */
85 #define HAVE_INTTYPES_H 1
87 /* Define to 1 if you have the <limits.h> header file. */
88 #define HAVE_LIMITS_H 1
90 /* Define to 1 if .lz (lzip) decompression support is enabled. */
91 #define HAVE_LZIP_DECODER 1
93 /* Define to 1 to enable bt2 match finder. */
94 #define HAVE_MF_BT2 1
96 /* Define to 1 to enable bt3 match finder. */
97 #define HAVE_MF_BT3 1
99 /* Define to 1 to enable bt4 match finder. */
100 #define HAVE_MF_BT4 1
102 /* Define to 1 to enable hc3 match finder. */
103 #define HAVE_MF_HC3 1
105 /* Define to 1 to enable hc4 match finder. */
106 #define HAVE_MF_HC4 1
108 /* Define to 1 if stdbool.h conforms to C99. */
109 #define HAVE_STDBOOL_H 1
111 /* Define to 1 if you have the <stdint.h> header file. */
112 #define HAVE_STDINT_H 1
114 /* Define to 1 if you have the <stdlib.h> header file. */
115 #define HAVE_STDLIB_H 1
117 /* Define to 1 if you have the <string.h> header file. */
118 #define HAVE_STRING_H 1
120 /* Define to 1 or 0, depending whether the compiler supports simple visibility
121 declarations. */
122 #define HAVE_VISIBILITY 0
124 /* Define to 1 if the system has the type `_Bool'. */
125 #define HAVE__BOOL 1
127 #ifdef _M_IX86
128 /* Define to 1 when using Windows 95 (and thus XP) compatible threads. This
129 avoids use of features that were added in Windows Vista.
130 This is used for 32-bit x86 builds for compatibility reasons since it
131 makes no measurable difference in performance compared to Vista threads. */
132 #define MYTHREAD_WIN95 1
133 #else
134 /* Define to 1 when using Windows Vista compatible threads. This uses features
135 that are not available on Windows XP. */
136 #define MYTHREAD_VISTA 1
137 #endif
139 /* Define to 1 to disable debugging code. */
140 #define NDEBUG 1
142 /* Define to the full name of this package. */
143 #define PACKAGE_NAME "XZ Utils"
145 /* Define to the home page for this package. */
146 #define PACKAGE_URL "https://tukaani.org/xz/"
148 /* The size of `size_t', as computed by sizeof. */
149 #ifdef _WIN64
150 #define SIZEOF_SIZE_T 8
151 #else
152 #define SIZEOF_SIZE_T 4
153 #endif
155 /* Define to 1 if the system supports fast unaligned access to 16-bit and
156 32-bit integers. */
157 #define TUKLIB_FAST_UNALIGNED_ACCESS 1