debian: Prepare for upload
[xz/debian.git] / windows / vs2017 / config.h
blob25ac18e747a8745f5d30f01b8a7253685e0480e6
1 /* config.h for compiling liblzma (*not* the whole XZ Utils) with MSVC 2017 */
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 armthumb decoder is enabled. */
25 #define HAVE_DECODER_ARMTHUMB 1
27 /* Define to 1 if delta decoder is enabled. */
28 #define HAVE_DECODER_DELTA 1
30 /* Define to 1 if ia64 decoder is enabled. */
31 #define HAVE_DECODER_IA64 1
33 /* Define to 1 if lzma1 decoder is enabled. */
34 #define HAVE_DECODER_LZMA1 1
36 /* Define to 1 if lzma2 decoder is enabled. */
37 #define HAVE_DECODER_LZMA2 1
39 /* Define to 1 if powerpc decoder is enabled. */
40 #define HAVE_DECODER_POWERPC 1
42 /* Define to 1 if sparc decoder is enabled. */
43 #define HAVE_DECODER_SPARC 1
45 /* Define to 1 if x86 decoder is enabled. */
46 #define HAVE_DECODER_X86 1
48 /* Define to 1 if any of HAVE_ENCODER_foo have been defined. */
49 #define HAVE_ENCODERS 1
51 /* Define to 1 if arm encoder is enabled. */
52 #define HAVE_ENCODER_ARM 1
54 /* Define to 1 if armthumb encoder is enabled. */
55 #define HAVE_ENCODER_ARMTHUMB 1
57 /* Define to 1 if delta encoder is enabled. */
58 #define HAVE_ENCODER_DELTA 1
60 /* Define to 1 if ia64 encoder is enabled. */
61 #define HAVE_ENCODER_IA64 1
63 /* Define to 1 if lzma1 encoder is enabled. */
64 #define HAVE_ENCODER_LZMA1 1
66 /* Define to 1 if lzma2 encoder is enabled. */
67 #define HAVE_ENCODER_LZMA2 1
69 /* Define to 1 if powerpc encoder is enabled. */
70 #define HAVE_ENCODER_POWERPC 1
72 /* Define to 1 if sparc encoder is enabled. */
73 #define HAVE_ENCODER_SPARC 1
75 /* Define to 1 if x86 encoder is enabled. */
76 #define HAVE_ENCODER_X86 1
78 /* Define to 1 if you have the <inttypes.h> header file. */
79 #define HAVE_INTTYPES_H 1
81 /* Define to 1 if you have the <limits.h> header file. */
82 #define HAVE_LIMITS_H 1
84 /* Define to 1 to enable bt2 match finder. */
85 #define HAVE_MF_BT2 1
87 /* Define to 1 to enable bt3 match finder. */
88 #define HAVE_MF_BT3 1
90 /* Define to 1 to enable bt4 match finder. */
91 #define HAVE_MF_BT4 1
93 /* Define to 1 to enable hc3 match finder. */
94 #define HAVE_MF_HC3 1
96 /* Define to 1 to enable hc4 match finder. */
97 #define HAVE_MF_HC4 1
99 /* Define to 1 if stdbool.h conforms to C99. */
100 #define HAVE_STDBOOL_H 1
102 /* Define to 1 if you have the <stdint.h> header file. */
103 #define HAVE_STDINT_H 1
105 /* Define to 1 if you have the <stdlib.h> header file. */
106 #define HAVE_STDLIB_H 1
108 /* Define to 1 if you have the <string.h> header file. */
109 #define HAVE_STRING_H 1
111 /* Define to 1 or 0, depending whether the compiler supports simple visibility
112 declarations. */
113 #define HAVE_VISIBILITY 0
115 /* Define to 1 if the system has the type `_Bool'. */
116 #define HAVE__BOOL 1
118 #ifdef _M_IX86
119 /* Define to 1 when using Windows 95 (and thus XP) compatible threads. This
120 avoids use of features that were added in Windows Vista.
121 This is used for 32-bit x86 builds for compatibility reasons since it
122 makes no measurable difference in performance compared to Vista threads. */
123 #define MYTHREAD_WIN95 1
124 #else
125 /* Define to 1 when using Windows Vista compatible threads. This uses features
126 that are not available on Windows XP. */
127 #define MYTHREAD_VISTA 1
128 #endif
130 /* Define to 1 to disable debugging code. */
131 #define NDEBUG 1
133 /* Define to the full name of this package. */
134 #define PACKAGE_NAME "XZ Utils"
136 /* Define to the home page for this package. */
137 #define PACKAGE_URL "https://tukaani.org/xz/"
139 /* The size of `size_t', as computed by sizeof. */
140 #ifdef _WIN64
141 #define SIZEOF_SIZE_T 8
142 #else
143 #define SIZEOF_SIZE_T 4
144 #endif
146 /* Define to 1 if the system supports fast unaligned access to 16-bit and
147 32-bit integers. */
148 #define TUKLIB_FAST_UNALIGNED_ACCESS 1