1 /* config.h for compiling liblzma (*not* the whole XZ Utils) with MSVC 2013 */
2
3 /* Prefix for symbols exported by tuklib_*.c files */
4 #define TUKLIB_SYMBOL_PREFIX lzma_
5
6 /* How many MiB of RAM to assume if the real amount cannot be determined. */
7 #define ASSUME_RAM 128
8
9 /* Define to 1 if crc32 integrity check is enabled. */
10 #define HAVE_CHECK_CRC32 1
11
12 /* Define to 1 if crc64 integrity check is enabled. */
13 #define HAVE_CHECK_CRC64 1
14
15 /* Define to 1 if sha256 integrity check is enabled. */
16 #define HAVE_CHECK_SHA256 1
17
18 /* Define to 1 if any of HAVE_DECODER_foo have been defined. */
19 #define HAVE_DECODERS 1
20
21 /* Define to 1 if arm decoder is enabled. */
22 #define HAVE_DECODER_ARM 1
23
24 /* Define to 1 if arm64 decoder is enabled. */
25 #define HAVE_DECODER_ARM64 1
26
27 /* Define to 1 if armthumb decoder is enabled. */
28 #define HAVE_DECODER_ARMTHUMB 1
29
30 /* Define to 1 if delta decoder is enabled. */
31 #define HAVE_DECODER_DELTA 1
32
33 /* Define to 1 if ia64 decoder is enabled. */
34 #define HAVE_DECODER_IA64 1
35
36 /* Define to 1 if lzma1 decoder is enabled. */
37 #define HAVE_DECODER_LZMA1 1
38
39 /* Define to 1 if lzma2 decoder is enabled. */
40 #define HAVE_DECODER_LZMA2 1
41
42 /* Define to 1 if powerpc decoder is enabled. */
43 #define HAVE_DECODER_POWERPC 1
44
45 /* Define to 1 if sparc decoder is enabled. */
46 #define HAVE_DECODER_SPARC 1
47
48 /* Define to 1 if x86 decoder is enabled. */
49 #define HAVE_DECODER_X86 1
50
51 /* Define to 1 if any of HAVE_ENCODER_foo have been defined. */
52 #define HAVE_ENCODERS 1
53
54 /* Define to 1 if arm encoder is enabled. */
55 #define HAVE_ENCODER_ARM 1
56
57 /* Define to 1 if arm64 encoder is enabled. */
58 #define HAVE_ENCODER_ARM64 1
59
60 /* Define to 1 if armthumb encoder is enabled. */
61 #define HAVE_ENCODER_ARMTHUMB 1
62
63 /* Define to 1 if delta encoder is enabled. */
64 #define HAVE_ENCODER_DELTA 1
65
66 /* Define to 1 if ia64 encoder is enabled. */
67 #define HAVE_ENCODER_IA64 1
68
69 /* Define to 1 if lzma1 encoder is enabled. */
70 #define HAVE_ENCODER_LZMA1 1
71
72 /* Define to 1 if lzma2 encoder is enabled. */
73 #define HAVE_ENCODER_LZMA2 1
74
75 /* Define to 1 if powerpc encoder is enabled. */
76 #define HAVE_ENCODER_POWERPC 1
77
78 /* Define to 1 if sparc encoder is enabled. */
79 #define HAVE_ENCODER_SPARC 1
80
81 /* Define to 1 if x86 encoder is enabled. */
82 #define HAVE_ENCODER_X86 1
83
84 /* Define to 1 if you have the <inttypes.h> header file. */
85 #define HAVE_INTTYPES_H 1
86
87 /* Define to 1 if you have the <limits.h> header file. */
88 #define HAVE_LIMITS_H 1
89
90 /* Define to 1 if .lz (lzip) decompression support is enabled. */
91 #define HAVE_LZIP_DECODER 1
92
93 /* Define to 1 to enable bt2 match finder. */
94 #define HAVE_MF_BT2 1
95
96 /* Define to 1 to enable bt3 match finder. */
97 #define HAVE_MF_BT3 1
98
99 /* Define to 1 to enable bt4 match finder. */
100 #define HAVE_MF_BT4 1
101
102 /* Define to 1 to enable hc3 match finder. */
103 #define HAVE_MF_HC3 1
104
105 /* Define to 1 to enable hc4 match finder. */
106 #define HAVE_MF_HC4 1
107
108 /* Define to 1 if stdbool.h conforms to C99. */
109 #define HAVE_STDBOOL_H 1
110
111 /* Define to 1 if you have the <stdint.h> header file. */
112 #define HAVE_STDINT_H 1
113
114 /* Define to 1 if you have the <stdlib.h> header file. */
115 #define HAVE_STDLIB_H 1
116
117 /* Define to 1 if you have the <string.h> header file. */
118 #define HAVE_STRING_H 1
119
120 /* Define to 1 or 0, depending whether the compiler supports simple visibility
121 declarations. */
122 #define HAVE_VISIBILITY 0
123
124 /* Define to 1 if the system has the type `_Bool'. */
125 #define HAVE__BOOL 1
126
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
138
139 /* Define to 1 to disable debugging code. */
140 #define NDEBUG 1
141
142 /* Define to the full name of this package. */
143 #define PACKAGE_NAME "XZ Utils"
144
145 /* Define to the home page for this package. */
146 #define PACKAGE_URL "https://tukaani.org/xz/"
147
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
154
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