1 1.1 joerg /* config.h. Generated from config.h.in by configure. */ 2 1.1 joerg /* config.h.in. Generated from configure.ac by autoheader. */ 3 1.1 joerg 4 1.1 joerg /* Define if building universal (internal helper macro) */ 5 1.1 joerg /* #undef AC_APPLE_UNIVERSAL_BUILD */ 6 1.1 joerg 7 1.1 joerg /* How many MiB of RAM to assume if the real amount cannot be determined. */ 8 1.1 joerg #define ASSUME_RAM 128 9 1.1 joerg 10 1.3 christos /* Define to 1 if translation of program messages to the user's native 11 1.3 christos language is requested. */ 12 1.3 christos /* #undef ENABLE_NLS */ 13 1.3 christos 14 1.10 christos /* Define to 1 if ARM64 CRC32 instruction is supported. See configure.ac for 15 1.10 christos details. */ 16 1.10 christos /* #undef HAVE_ARM64_CRC32 */ 17 1.10 christos 18 1.1 joerg /* Define to 1 if bswap_16 is available. */ 19 1.1 joerg /* #undef HAVE_BSWAP_16 */ 20 1.1 joerg 21 1.1 joerg /* Define to 1 if bswap_32 is available. */ 22 1.1 joerg /* #undef HAVE_BSWAP_32 */ 23 1.1 joerg 24 1.1 joerg /* Define to 1 if bswap_64 is available. */ 25 1.1 joerg /* #undef HAVE_BSWAP_64 */ 26 1.1 joerg 27 1.1 joerg /* Define to 1 if you have the <byteswap.h> header file. */ 28 1.1 joerg /* #undef HAVE_BYTESWAP_H */ 29 1.1 joerg 30 1.10 christos /* Define to 1 if you have the 'cap_rights_limit' function. */ 31 1.10 christos /* #undef HAVE_CAP_RIGHTS_LIMIT */ 32 1.9 joerg 33 1.10 christos /* Define to 1 if the system has the type 'CC_SHA256_CTX'. */ 34 1.3 christos /* #undef HAVE_CC_SHA256_CTX */ 35 1.3 christos 36 1.10 christos /* Define to 1 if you have the 'CC_SHA256_Init' function. */ 37 1.3 christos /* #undef HAVE_CC_SHA256_INIT */ 38 1.3 christos 39 1.10 christos /* Define to 1 if you have the Mac OS X function 40 1.10 christos CFLocaleCopyPreferredLanguages in the CoreFoundation framework. */ 41 1.10 christos /* #undef HAVE_CFLOCALECOPYPREFERREDLANGUAGES */ 42 1.3 christos 43 1.9 joerg /* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in 44 1.3 christos the CoreFoundation framework. */ 45 1.3 christos /* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */ 46 1.3 christos 47 1.1 joerg /* Define to 1 if crc32 integrity check is enabled. */ 48 1.1 joerg #define HAVE_CHECK_CRC32 1 49 1.1 joerg 50 1.1 joerg /* Define to 1 if crc64 integrity check is enabled. */ 51 1.1 joerg #define HAVE_CHECK_CRC64 1 52 1.1 joerg 53 1.1 joerg /* Define to 1 if sha256 integrity check is enabled. */ 54 1.1 joerg #define HAVE_CHECK_SHA256 1 55 1.1 joerg 56 1.10 christos /* Define to 1 if you have the 'clock_gettime' function. */ 57 1.3 christos #define HAVE_CLOCK_GETTIME 1 58 1.3 christos 59 1.10 christos /* Define to 1 if 'CLOCK_MONOTONIC' is declared in <time.h>. */ 60 1.10 christos #define HAVE_CLOCK_MONOTONIC 1 61 1.10 christos 62 1.3 christos /* Define to 1 if you have the <CommonCrypto/CommonDigest.h> header file. */ 63 1.3 christos /* #undef HAVE_COMMONCRYPTO_COMMONDIGEST_H */ 64 1.3 christos 65 1.10 christos /* Define to 1 if you have the <cpuid.h> header file. */ 66 1.10 christos #define HAVE_CPUID_H 1 67 1.10 christos 68 1.10 christos /* Define to 1 if the 32-bit x86 CRC assembly files are used. */ 69 1.10 christos /* #undef HAVE_CRC_X86_ASM */ 70 1.10 christos 71 1.3 christos /* Define if the GNU dcgettext() function is already present or preinstalled. 72 1.3 christos */ 73 1.3 christos /* #undef HAVE_DCGETTEXT */ 74 1.3 christos 75 1.9 joerg /* Define to 1 if any of HAVE_DECODER_foo have been defined. */ 76 1.9 joerg #define HAVE_DECODERS 1 77 1.9 joerg 78 1.1 joerg /* Define to 1 if arm decoder is enabled. */ 79 1.1 joerg #define HAVE_DECODER_ARM 1 80 1.1 joerg 81 1.10 christos /* Define to 1 if arm64 decoder is enabled. */ 82 1.10 christos #define HAVE_DECODER_ARM64 1 83 1.10 christos 84 1.1 joerg /* Define to 1 if armthumb decoder is enabled. */ 85 1.1 joerg #define HAVE_DECODER_ARMTHUMB 1 86 1.1 joerg 87 1.1 joerg /* Define to 1 if delta decoder is enabled. */ 88 1.1 joerg #define HAVE_DECODER_DELTA 1 89 1.1 joerg 90 1.1 joerg /* Define to 1 if ia64 decoder is enabled. */ 91 1.1 joerg #define HAVE_DECODER_IA64 1 92 1.1 joerg 93 1.1 joerg /* Define to 1 if lzma1 decoder is enabled. */ 94 1.1 joerg #define HAVE_DECODER_LZMA1 1 95 1.1 joerg 96 1.1 joerg /* Define to 1 if lzma2 decoder is enabled. */ 97 1.1 joerg #define HAVE_DECODER_LZMA2 1 98 1.1 joerg 99 1.1 joerg /* Define to 1 if powerpc decoder is enabled. */ 100 1.1 joerg #define HAVE_DECODER_POWERPC 1 101 1.1 joerg 102 1.10 christos /* Define to 1 if riscv decoder is enabled. */ 103 1.10 christos #define HAVE_DECODER_RISCV 1 104 1.10 christos 105 1.1 joerg /* Define to 1 if sparc decoder is enabled. */ 106 1.1 joerg #define HAVE_DECODER_SPARC 1 107 1.1 joerg 108 1.1 joerg /* Define to 1 if x86 decoder is enabled. */ 109 1.1 joerg #define HAVE_DECODER_X86 1 110 1.1 joerg 111 1.3 christos /* Define to 1 if you have the <dlfcn.h> header file. */ 112 1.3 christos #define HAVE_DLFCN_H 1 113 1.3 christos 114 1.10 christos /* Define to 1 if you have the 'elf_aux_info' function. */ 115 1.10 christos /* #undef HAVE_ELF_AUX_INFO */ 116 1.10 christos 117 1.9 joerg /* Define to 1 if any of HAVE_ENCODER_foo have been defined. */ 118 1.9 joerg #define HAVE_ENCODERS 1 119 1.9 joerg 120 1.1 joerg /* Define to 1 if arm encoder is enabled. */ 121 1.1 joerg #define HAVE_ENCODER_ARM 1 122 1.1 joerg 123 1.10 christos /* Define to 1 if arm64 encoder is enabled. */ 124 1.10 christos #define HAVE_ENCODER_ARM64 1 125 1.10 christos 126 1.1 joerg /* Define to 1 if armthumb encoder is enabled. */ 127 1.1 joerg #define HAVE_ENCODER_ARMTHUMB 1 128 1.1 joerg 129 1.1 joerg /* Define to 1 if delta encoder is enabled. */ 130 1.1 joerg #define HAVE_ENCODER_DELTA 1 131 1.1 joerg 132 1.1 joerg /* Define to 1 if ia64 encoder is enabled. */ 133 1.1 joerg #define HAVE_ENCODER_IA64 1 134 1.1 joerg 135 1.1 joerg /* Define to 1 if lzma1 encoder is enabled. */ 136 1.1 joerg #define HAVE_ENCODER_LZMA1 1 137 1.1 joerg 138 1.1 joerg /* Define to 1 if lzma2 encoder is enabled. */ 139 1.1 joerg #define HAVE_ENCODER_LZMA2 1 140 1.1 joerg 141 1.1 joerg /* Define to 1 if powerpc encoder is enabled. */ 142 1.1 joerg #define HAVE_ENCODER_POWERPC 1 143 1.1 joerg 144 1.10 christos /* Define to 1 if riscv encoder is enabled. */ 145 1.10 christos #define HAVE_ENCODER_RISCV 1 146 1.10 christos 147 1.1 joerg /* Define to 1 if sparc encoder is enabled. */ 148 1.1 joerg #define HAVE_ENCODER_SPARC 1 149 1.1 joerg 150 1.1 joerg /* Define to 1 if x86 encoder is enabled. */ 151 1.1 joerg #define HAVE_ENCODER_X86 1 152 1.1 joerg 153 1.10 christos /* Define to 1 if __attribute__((__constructor__)) is supported for functions. 154 1.10 christos */ 155 1.10 christos #define HAVE_FUNC_ATTRIBUTE_CONSTRUCTOR 1 156 1.1 joerg 157 1.10 christos /* Define to 1 if you have the 'futimens' function. */ 158 1.3 christos #define HAVE_FUTIMENS 1 159 1.1 joerg 160 1.10 christos /* Define to 1 if you have the 'futimes' function. */ 161 1.3 christos /* #undef HAVE_FUTIMES */ 162 1.1 joerg 163 1.10 christos /* Define to 1 if you have the 'futimesat' function. */ 164 1.1 joerg /* #undef HAVE_FUTIMESAT */ 165 1.1 joerg 166 1.10 christos /* Define to 1 if you have the 'getauxval' function. */ 167 1.10 christos /* #undef HAVE_GETAUXVAL */ 168 1.10 christos 169 1.3 christos /* Define to 1 if you have the <getopt.h> header file. */ 170 1.3 christos #define HAVE_GETOPT_H 1 171 1.3 christos 172 1.10 christos /* Define to 1 if you have the 'getopt_long' function. */ 173 1.3 christos #define HAVE_GETOPT_LONG 1 174 1.3 christos 175 1.10 christos /* Define to 1 if you have the 'getrlimit' function. */ 176 1.10 christos #define HAVE_GETRLIMIT 1 177 1.10 christos 178 1.3 christos /* Define if the GNU gettext() function is already present or preinstalled. */ 179 1.3 christos /* #undef HAVE_GETTEXT */ 180 1.3 christos 181 1.10 christos /* Define to 1 if 'HWCAP_CRC32' is declared in <sys/auxv.h>. */ 182 1.10 christos /* #undef HAVE_HWCAP_CRC32 */ 183 1.10 christos 184 1.3 christos /* Define if you have the iconv() function and it works. */ 185 1.3 christos #define HAVE_ICONV 1 186 1.3 christos 187 1.3 christos /* Define to 1 if you have the <immintrin.h> header file. */ 188 1.10 christos #if !defined(__lint__) && (defined(__i386__) || defined(__x86_64__)) 189 1.3 christos #define HAVE_IMMINTRIN_H 1 190 1.4 matt #endif 191 1.3 christos 192 1.1 joerg /* Define to 1 if you have the <inttypes.h> header file. */ 193 1.1 joerg #define HAVE_INTTYPES_H 1 194 1.1 joerg 195 1.10 christos /* Define to 1 if Linux Landlock is supported. See configure.ac for details. 196 1.10 christos */ 197 1.10 christos /* #undef HAVE_LINUX_LANDLOCK */ 198 1.10 christos 199 1.10 christos /* Define to 1 if 64-bit LoongArch CRC32 instructions are supported. */ 200 1.10 christos /* #undef HAVE_LOONGARCH_CRC32 */ 201 1.10 christos 202 1.10 christos /* Define to 1 if .lz (lzip) decompression support is enabled. */ 203 1.10 christos #define HAVE_LZIP_DECODER 1 204 1.1 joerg 205 1.1 joerg /* Define to 1 if mbrtowc and mbstate_t are properly declared. */ 206 1.1 joerg #define HAVE_MBRTOWC 1 207 1.1 joerg 208 1.1 joerg /* Define to 1 to enable bt2 match finder. */ 209 1.1 joerg #define HAVE_MF_BT2 1 210 1.1 joerg 211 1.1 joerg /* Define to 1 to enable bt3 match finder. */ 212 1.1 joerg #define HAVE_MF_BT3 1 213 1.1 joerg 214 1.1 joerg /* Define to 1 to enable bt4 match finder. */ 215 1.1 joerg #define HAVE_MF_BT4 1 216 1.1 joerg 217 1.1 joerg /* Define to 1 to enable hc3 match finder. */ 218 1.1 joerg #define HAVE_MF_HC3 1 219 1.1 joerg 220 1.1 joerg /* Define to 1 to enable hc4 match finder. */ 221 1.1 joerg #define HAVE_MF_HC4 1 222 1.1 joerg 223 1.10 christos /* Define to 1 if you have the <minix/config.h> header file. */ 224 1.10 christos /* #undef HAVE_MINIX_CONFIG_H */ 225 1.10 christos 226 1.3 christos /* Define to 1 if getopt.h declares extern int optreset. */ 227 1.3 christos #define HAVE_OPTRESET 1 228 1.3 christos 229 1.10 christos /* Define to 1 if you have the 'pledge' function. */ 230 1.10 christos /* #undef HAVE_PLEDGE */ 231 1.10 christos 232 1.10 christos /* Define to 1 if you have the 'posix_fadvise' function. */ 233 1.3 christos #define HAVE_POSIX_FADVISE 1 234 1.3 christos 235 1.10 christos /* Define to 1 if 'program_invocation_name' is declared in <errno.h>. */ 236 1.10 christos /* #undef HAVE_PROGRAM_INVOCATION_NAME */ 237 1.10 christos 238 1.10 christos /* Define to 1 if you have the 'pthread_condattr_setclock' function. */ 239 1.3 christos #define HAVE_PTHREAD_CONDATTR_SETCLOCK 1 240 1.3 christos 241 1.3 christos /* Have PTHREAD_PRIO_INHERIT. */ 242 1.9 joerg #define HAVE_PTHREAD_PRIO_INHERIT 1 243 1.3 christos 244 1.10 christos /* Define to 1 if you have the 'SHA256Init' function. */ 245 1.3 christos /* #undef HAVE_SHA256INIT */ 246 1.3 christos 247 1.10 christos /* Define to 1 if the system has the type 'SHA256_CTX'. */ 248 1.10 christos /* #undef HAVE_SHA256_CTX */ 249 1.3 christos 250 1.3 christos /* Define to 1 if you have the <sha256.h> header file. */ 251 1.3 christos /* #undef HAVE_SHA256_H */ 252 1.3 christos 253 1.10 christos /* Define to 1 if you have the 'SHA256_Init' function. */ 254 1.10 christos /* #undef HAVE_SHA256_INIT */ 255 1.3 christos 256 1.10 christos /* Define to 1 if the system has the type 'SHA2_CTX'. */ 257 1.3 christos /* #undef HAVE_SHA2_CTX */ 258 1.3 christos 259 1.3 christos /* Define to 1 if you have the <sha2.h> header file. */ 260 1.10 christos /* #undef HAVE_SHA2_H */ 261 1.3 christos 262 1.1 joerg /* Define to 1 if optimizing for size. */ 263 1.1 joerg /* #undef HAVE_SMALL */ 264 1.1 joerg 265 1.1 joerg /* Define to 1 if stdbool.h conforms to C99. */ 266 1.1 joerg #define HAVE_STDBOOL_H 1 267 1.1 joerg 268 1.1 joerg /* Define to 1 if you have the <stdint.h> header file. */ 269 1.1 joerg #define HAVE_STDINT_H 1 270 1.1 joerg 271 1.10 christos /* Define to 1 if you have the <stdio.h> header file. */ 272 1.10 christos #define HAVE_STDIO_H 1 273 1.10 christos 274 1.1 joerg /* Define to 1 if you have the <stdlib.h> header file. */ 275 1.1 joerg #define HAVE_STDLIB_H 1 276 1.1 joerg 277 1.1 joerg /* Define to 1 if you have the <strings.h> header file. */ 278 1.1 joerg #define HAVE_STRINGS_H 1 279 1.1 joerg 280 1.1 joerg /* Define to 1 if you have the <string.h> header file. */ 281 1.1 joerg #define HAVE_STRING_H 1 282 1.1 joerg 283 1.10 christos /* Define to 1 if 'st_atimensec' is a member of 'struct stat'. */ 284 1.1 joerg #define HAVE_STRUCT_STAT_ST_ATIMENSEC 1 285 1.1 joerg 286 1.10 christos /* Define to 1 if 'st_atimespec.tv_nsec' is a member of 'struct stat'. */ 287 1.1 joerg #define HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC 1 288 1.1 joerg 289 1.10 christos /* Define to 1 if 'st_atim.st__tim.tv_nsec' is a member of 'struct stat'. */ 290 1.1 joerg /* #undef HAVE_STRUCT_STAT_ST_ATIM_ST__TIM_TV_NSEC */ 291 1.1 joerg 292 1.10 christos /* Define to 1 if 'st_atim.tv_nsec' is a member of 'struct stat'. */ 293 1.3 christos #define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1 294 1.1 joerg 295 1.10 christos /* Define to 1 if 'st_uatime' is a member of 'struct stat'. */ 296 1.1 joerg /* #undef HAVE_STRUCT_STAT_ST_UATIME */ 297 1.1 joerg 298 1.10 christos /* Define to 1 to if GNU/Linux-specific details are unconditionally wanted for 299 1.10 christos symbol versioning. Define to 2 to if these are wanted only if also PIC is 300 1.10 christos defined (allows building both shared and static liblzma at the same time 301 1.10 christos with Libtool if neither --with-pic nor --without-pic is used). This define 302 1.10 christos must be used together with liblzma_linux.map. */ 303 1.10 christos /* #undef HAVE_SYMBOL_VERSIONS_LINUX */ 304 1.10 christos 305 1.10 christos /* Define to 1 if you have the 'sysctlbyname' function. */ 306 1.10 christos /* #undef HAVE_SYSCTLBYNAME */ 307 1.10 christos 308 1.1 joerg /* Define to 1 if you have the <sys/byteorder.h> header file. */ 309 1.1 joerg /* #undef HAVE_SYS_BYTEORDER_H */ 310 1.1 joerg 311 1.10 christos /* Define to 1 if you have the <sys/cdefs.h> header file. */ 312 1.10 christos #define HAVE_SYS_CDEFS_H 1 313 1.9 joerg 314 1.1 joerg /* Define to 1 if you have the <sys/endian.h> header file. */ 315 1.10 christos /* #undef HAVE_SYS_ENDIAN_H */ 316 1.1 joerg 317 1.1 joerg /* Define to 1 if you have the <sys/param.h> header file. */ 318 1.1 joerg #define HAVE_SYS_PARAM_H 1 319 1.1 joerg 320 1.1 joerg /* Define to 1 if you have the <sys/stat.h> header file. */ 321 1.1 joerg #define HAVE_SYS_STAT_H 1 322 1.1 joerg 323 1.1 joerg /* Define to 1 if you have the <sys/types.h> header file. */ 324 1.1 joerg #define HAVE_SYS_TYPES_H 1 325 1.1 joerg 326 1.10 christos /* Define to 1 if the system has the type 'uintptr_t'. */ 327 1.1 joerg #define HAVE_UINTPTR_T 1 328 1.1 joerg 329 1.1 joerg /* Define to 1 if you have the <unistd.h> header file. */ 330 1.1 joerg #define HAVE_UNISTD_H 1 331 1.1 joerg 332 1.10 christos /* Define to 1 if _mm_set_epi64x and _mm_clmulepi64_si128 are usable. See 333 1.10 christos configure.ac for details. */ 334 1.10 christos #if !defined(__lint__) && (defined(__i386__) || defined(__x86_64__)) 335 1.10 christos #define HAVE_USABLE_CLMUL 1 336 1.10 christos #endif 337 1.10 christos 338 1.10 christos /* Define to 1 if you have the 'utime' function. */ 339 1.1 joerg /* #undef HAVE_UTIME */ 340 1.1 joerg 341 1.10 christos /* Define to 1 if you have the 'utimes' function. */ 342 1.1 joerg /* #undef HAVE_UTIMES */ 343 1.1 joerg 344 1.10 christos /* Define to 1 if you have the 'vasprintf' function. */ 345 1.10 christos #define HAVE_VASPRINTF 1 346 1.10 christos 347 1.3 christos /* Define to 1 or 0, depending whether the compiler supports simple visibility 348 1.3 christos declarations. */ 349 1.3 christos #define HAVE_VISIBILITY 1 350 1.3 christos 351 1.10 christos /* Define to 1 if you have the <wchar.h> header file. */ 352 1.10 christos #define HAVE_WCHAR_H 1 353 1.10 christos 354 1.10 christos /* Define to 1 if you have the 'wcwidth' function. */ 355 1.1 joerg #define HAVE_WCWIDTH 1 356 1.1 joerg 357 1.10 christos /* Define to 1 if the system has the type '_Bool'. */ 358 1.1 joerg #define HAVE__BOOL 1 359 1.1 joerg 360 1.10 christos /* Define to 1 if you have the '_futime' function. */ 361 1.9 joerg /* #undef HAVE__FUTIME */ 362 1.9 joerg 363 1.3 christos /* Define to 1 if _mm_movemask_epi8 is available. */ 364 1.3 christos #define HAVE__MM_MOVEMASK_EPI8 1 365 1.3 christos 366 1.10 christos /* Define to 1 if the GNU C extension __builtin_assume_aligned is supported. 367 1.10 christos */ 368 1.10 christos #define HAVE___BUILTIN_ASSUME_ALIGNED 1 369 1.10 christos 370 1.10 christos /* Define to 1 if the GNU C extensions __builtin_bswap16/32/64 are supported. 371 1.10 christos */ 372 1.10 christos #define HAVE___BUILTIN_BSWAPXX 1 373 1.10 christos 374 1.3 christos /* Define to the sub-directory where libtool stores uninstalled libraries. */ 375 1.3 christos #define LT_OBJDIR ".libs/" 376 1.3 christos 377 1.3 christos /* Define to 1 when using POSIX threads (pthreads). */ 378 1.3 christos #define MYTHREAD_POSIX 1 379 1.3 christos 380 1.3 christos /* Define to 1 when using Windows Vista compatible threads. This uses features 381 1.3 christos that are not available on Windows XP. */ 382 1.3 christos /* #undef MYTHREAD_VISTA */ 383 1.3 christos 384 1.3 christos /* Define to 1 when using Windows 95 (and thus XP) compatible threads. This 385 1.3 christos avoids use of features that were added in Windows Vista. */ 386 1.3 christos /* #undef MYTHREAD_WIN95 */ 387 1.3 christos 388 1.3 christos /* Define to 1 to disable debugging code. */ 389 1.3 christos #define NDEBUG 1 390 1.3 christos 391 1.3 christos /* Name of package */ 392 1.3 christos #define PACKAGE "xz" 393 1.3 christos 394 1.1 joerg /* Define to the address where bug reports for this package should be sent. */ 395 1.10 christos #define PACKAGE_BUGREPORT "xz (at) tukaani.org" 396 1.1 joerg 397 1.1 joerg /* Define to the full name of this package. */ 398 1.1 joerg #define PACKAGE_NAME "XZ Utils" 399 1.1 joerg 400 1.1 joerg /* Define to the full name and version of this package. */ 401 1.10 christos #define PACKAGE_STRING "XZ Utils 5.8.3" 402 1.1 joerg 403 1.1 joerg /* Define to the one symbol short name of this package. */ 404 1.1 joerg #define PACKAGE_TARNAME "xz" 405 1.1 joerg 406 1.1 joerg /* Define to the home page for this package. */ 407 1.9 joerg #define PACKAGE_URL "https://tukaani.org/xz/" 408 1.1 joerg 409 1.1 joerg /* Define to the version of this package. */ 410 1.10 christos #define PACKAGE_VERSION "5.8.3" 411 1.1 joerg 412 1.3 christos /* Define to necessary symbol if this constant uses a non-standard name on 413 1.3 christos your system. */ 414 1.3 christos /* #undef PTHREAD_CREATE_JOINABLE */ 415 1.3 christos 416 1.10 christos /* The size of 'size_t', as computed by sizeof. */ 417 1.1 joerg #define SIZEOF_SIZE_T 8 418 1.1 joerg 419 1.10 christos /* Define to 1 if all of the C89 standard headers exist (not just the ones 420 1.10 christos required in a freestanding environment). This macro is provided for 421 1.10 christos backward compatibility; new code need not use it. */ 422 1.1 joerg #define STDC_HEADERS 1 423 1.1 joerg 424 1.1 joerg /* Define to 1 if the number of available CPU cores can be detected with 425 1.3 christos cpuset(2). */ 426 1.3 christos /* #undef TUKLIB_CPUCORES_CPUSET */ 427 1.3 christos 428 1.3 christos /* Define to 1 if the number of available CPU cores can be detected with 429 1.1 joerg pstat_getdynamic(). */ 430 1.1 joerg /* #undef TUKLIB_CPUCORES_PSTAT_GETDYNAMIC */ 431 1.1 joerg 432 1.1 joerg /* Define to 1 if the number of available CPU cores can be detected with 433 1.9 joerg sched_getaffinity() */ 434 1.9 joerg /* #undef TUKLIB_CPUCORES_SCHED_GETAFFINITY */ 435 1.9 joerg 436 1.9 joerg /* Define to 1 if the number of available CPU cores can be detected with 437 1.1 joerg sysconf(_SC_NPROCESSORS_ONLN) or sysconf(_SC_NPROC_ONLN). */ 438 1.1 joerg /* #undef TUKLIB_CPUCORES_SYSCONF */ 439 1.1 joerg 440 1.1 joerg /* Define to 1 if the number of available CPU cores can be detected with 441 1.1 joerg sysctl(). */ 442 1.1 joerg #define TUKLIB_CPUCORES_SYSCTL 1 443 1.1 joerg 444 1.10 christos #define TUKLIB_FAST_UNALIGNED_ACCESS 1 445 1.5 joerg #include <machine/types.h> 446 1.5 joerg #ifdef __NO_STRICT_ALIGNMENT 447 1.10 christos /* Define to 1 if the system supports fast unaligned access to 16-bit, 32-bit, 448 1.10 christos and 64-bit integers. */ 449 1.9 joerg #define TUKLIB_FAST_UNALIGNED_ACCESS 1 450 1.3 christos #endif 451 1.1 joerg 452 1.1 joerg /* Define to 1 if the amount of physical memory can be detected with 453 1.1 joerg _system_configuration.physmem. */ 454 1.1 joerg /* #undef TUKLIB_PHYSMEM_AIX */ 455 1.1 joerg 456 1.1 joerg /* Define to 1 if the amount of physical memory can be detected with 457 1.1 joerg getinvent_r(). */ 458 1.1 joerg /* #undef TUKLIB_PHYSMEM_GETINVENT_R */ 459 1.1 joerg 460 1.1 joerg /* Define to 1 if the amount of physical memory can be detected with 461 1.1 joerg getsysinfo(). */ 462 1.1 joerg /* #undef TUKLIB_PHYSMEM_GETSYSINFO */ 463 1.1 joerg 464 1.1 joerg /* Define to 1 if the amount of physical memory can be detected with 465 1.1 joerg pstat_getstatic(). */ 466 1.1 joerg /* #undef TUKLIB_PHYSMEM_PSTAT_GETSTATIC */ 467 1.1 joerg 468 1.1 joerg /* Define to 1 if the amount of physical memory can be detected with 469 1.1 joerg sysconf(_SC_PAGESIZE) and sysconf(_SC_PHYS_PAGES). */ 470 1.3 christos #define TUKLIB_PHYSMEM_SYSCONF 1 471 1.1 joerg 472 1.1 joerg /* Define to 1 if the amount of physical memory can be detected with sysctl(). 473 1.1 joerg */ 474 1.3 christos /* #undef TUKLIB_PHYSMEM_SYSCTL */ 475 1.1 joerg 476 1.1 joerg /* Define to 1 if the amount of physical memory can be detected with Linux 477 1.1 joerg sysinfo(). */ 478 1.1 joerg /* #undef TUKLIB_PHYSMEM_SYSINFO */ 479 1.1 joerg 480 1.10 christos /* Define to 1 to use unsafe type punning, e.g. char *x = ...; *(int *)x = 481 1.10 christos 123; which violates strict aliasing rules and thus is undefined behavior 482 1.10 christos and might result in broken code. */ 483 1.10 christos /* #undef TUKLIB_USE_UNSAFE_TYPE_PUNNING */ 484 1.10 christos 485 1.10 christos /* Enable extensions on AIX, Interix, z/OS. */ 486 1.1 joerg #ifndef _ALL_SOURCE 487 1.1 joerg # define _ALL_SOURCE 1 488 1.1 joerg #endif 489 1.10 christos /* Enable extensions on Cosmopolitan Libc. */ 490 1.10 christos #ifndef _COSMO_SOURCE 491 1.10 christos # define _COSMO_SOURCE 1 492 1.10 christos #endif 493 1.10 christos /* Enable general extensions on macOS. */ 494 1.10 christos #ifndef _DARWIN_C_SOURCE 495 1.10 christos # define _DARWIN_C_SOURCE 1 496 1.10 christos #endif 497 1.10 christos /* Enable general extensions on Solaris. */ 498 1.10 christos #ifndef __EXTENSIONS__ 499 1.10 christos # define __EXTENSIONS__ 1 500 1.10 christos #endif 501 1.1 joerg /* Enable GNU extensions on systems that have them. */ 502 1.1 joerg #ifndef _GNU_SOURCE 503 1.1 joerg # define _GNU_SOURCE 1 504 1.1 joerg #endif 505 1.10 christos /* Enable X/Open compliant socket functions that do not require linking 506 1.10 christos with -lxnet on HP-UX 11.11. */ 507 1.10 christos #ifndef _HPUX_ALT_XOPEN_SOCKET_API 508 1.10 christos # define _HPUX_ALT_XOPEN_SOCKET_API 1 509 1.10 christos #endif 510 1.10 christos /* Identify the host operating system as Minix. 511 1.10 christos This macro does not affect the system headers' behavior. 512 1.10 christos A future release of Autoconf may stop defining this macro. */ 513 1.10 christos #ifndef _MINIX 514 1.10 christos /* # undef _MINIX */ 515 1.10 christos #endif 516 1.10 christos /* Enable general extensions on NetBSD. 517 1.10 christos Enable NetBSD compatibility extensions on Minix. */ 518 1.10 christos #ifndef _NETBSD_SOURCE 519 1.10 christos # define _NETBSD_SOURCE 1 520 1.10 christos #endif 521 1.10 christos /* Enable OpenBSD compatibility extensions on NetBSD. 522 1.10 christos Oddly enough, this does nothing on OpenBSD. */ 523 1.10 christos #ifndef _OPENBSD_SOURCE 524 1.10 christos # define _OPENBSD_SOURCE 1 525 1.10 christos #endif 526 1.10 christos /* Define to 1 if needed for POSIX-compatible behavior. */ 527 1.10 christos #ifndef _POSIX_SOURCE 528 1.10 christos /* # undef _POSIX_SOURCE */ 529 1.10 christos #endif 530 1.10 christos /* Define to 2 if needed for POSIX-compatible behavior. */ 531 1.10 christos #ifndef _POSIX_1_SOURCE 532 1.10 christos /* # undef _POSIX_1_SOURCE */ 533 1.10 christos #endif 534 1.10 christos /* Enable POSIX-compatible threading on Solaris. */ 535 1.1 joerg #ifndef _POSIX_PTHREAD_SEMANTICS 536 1.1 joerg # define _POSIX_PTHREAD_SEMANTICS 1 537 1.1 joerg #endif 538 1.10 christos /* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ 539 1.10 christos #ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 540 1.10 christos # define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 541 1.10 christos #endif 542 1.10 christos /* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ 543 1.10 christos #ifndef __STDC_WANT_IEC_60559_BFP_EXT__ 544 1.10 christos # define __STDC_WANT_IEC_60559_BFP_EXT__ 1 545 1.10 christos #endif 546 1.10 christos /* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ 547 1.10 christos #ifndef __STDC_WANT_IEC_60559_DFP_EXT__ 548 1.10 christos # define __STDC_WANT_IEC_60559_DFP_EXT__ 1 549 1.10 christos #endif 550 1.10 christos /* Enable extensions specified by C23 Annex F. */ 551 1.10 christos #ifndef __STDC_WANT_IEC_60559_EXT__ 552 1.10 christos # define __STDC_WANT_IEC_60559_EXT__ 1 553 1.10 christos #endif 554 1.10 christos /* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ 555 1.10 christos #ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ 556 1.10 christos # define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 557 1.10 christos #endif 558 1.10 christos /* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ 559 1.10 christos #ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ 560 1.10 christos # define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 561 1.10 christos #endif 562 1.10 christos /* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ 563 1.10 christos #ifndef __STDC_WANT_LIB_EXT2__ 564 1.10 christos # define __STDC_WANT_LIB_EXT2__ 1 565 1.10 christos #endif 566 1.10 christos /* Enable extensions specified by ISO/IEC 24747:2009. */ 567 1.10 christos #ifndef __STDC_WANT_MATH_SPEC_FUNCS__ 568 1.10 christos # define __STDC_WANT_MATH_SPEC_FUNCS__ 1 569 1.10 christos #endif 570 1.1 joerg /* Enable extensions on HP NonStop. */ 571 1.1 joerg #ifndef _TANDEM_SOURCE 572 1.1 joerg # define _TANDEM_SOURCE 1 573 1.1 joerg #endif 574 1.10 christos /* Enable X/Open extensions. Define to 500 only if necessary 575 1.10 christos to make mbstate_t available. */ 576 1.10 christos #ifndef _XOPEN_SOURCE 577 1.10 christos /* # undef _XOPEN_SOURCE */ 578 1.1 joerg #endif 579 1.1 joerg 580 1.1 joerg 581 1.3 christos /* Version number of package */ 582 1.10 christos #define VERSION "5.8.3" 583 1.3 christos 584 1.1 joerg /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most 585 1.1 joerg significant byte first (like Motorola and SPARC, unlike Intel). */ 586 1.3 christos #if defined AC_APPLE_UNIVERSAL_BUILD 587 1.3 christos # if defined __BIG_ENDIAN__ 588 1.1 joerg # define WORDS_BIGENDIAN 1 589 1.3 christos # endif 590 1.3 christos #else 591 1.3 christos # ifndef WORDS_BIGENDIAN 592 1.3 christos /* # undef WORDS_BIGENDIAN */ 593 1.3 christos # endif 594 1.3 christos #endif 595 1.3 christos 596 1.1 joerg /* Number of bits in a file offset, on hosts where this is settable. */ 597 1.1 joerg /* #undef _FILE_OFFSET_BITS */ 598 1.1 joerg 599 1.10 christos /* Define to 1 on platforms where this makes off_t a 64-bit type. */ 600 1.1 joerg /* #undef _LARGE_FILES */ 601 1.1 joerg 602 1.10 christos /* Number of bits in time_t, on hosts where this is settable. */ 603 1.10 christos /* #undef _TIME_BITS */ 604 1.1 joerg 605 1.1 joerg /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>, 606 1.1 joerg <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the 607 1.1 joerg #define below would cause a syntax error. */ 608 1.1 joerg /* #undef _UINT32_T */ 609 1.1 joerg 610 1.1 joerg /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>, 611 1.1 joerg <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the 612 1.1 joerg #define below would cause a syntax error. */ 613 1.1 joerg /* #undef _UINT64_T */ 614 1.1 joerg 615 1.1 joerg /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>, 616 1.1 joerg <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the 617 1.1 joerg #define below would cause a syntax error. */ 618 1.1 joerg /* #undef _UINT8_T */ 619 1.1 joerg 620 1.3 christos /* Define to rpl_ if the getopt replacement functions and variables should be 621 1.3 christos used. */ 622 1.3 christos /* #undef __GETOPT_PREFIX */ 623 1.3 christos 624 1.10 christos /* Define to 1 on platforms where this makes time_t a 64-bit type. */ 625 1.10 christos /* #undef __MINGW_USE_VC2005_COMPAT */ 626 1.10 christos 627 1.1 joerg /* Define to the type of a signed integer type of width exactly 32 bits if 628 1.1 joerg such a type exists and the standard includes do not define it. */ 629 1.1 joerg /* #undef int32_t */ 630 1.1 joerg 631 1.1 joerg /* Define to the type of a signed integer type of width exactly 64 bits if 632 1.1 joerg such a type exists and the standard includes do not define it. */ 633 1.1 joerg /* #undef int64_t */ 634 1.1 joerg 635 1.1 joerg /* Define to the type of an unsigned integer type of width exactly 16 bits if 636 1.1 joerg such a type exists and the standard includes do not define it. */ 637 1.1 joerg /* #undef uint16_t */ 638 1.1 joerg 639 1.1 joerg /* Define to the type of an unsigned integer type of width exactly 32 bits if 640 1.1 joerg such a type exists and the standard includes do not define it. */ 641 1.1 joerg /* #undef uint32_t */ 642 1.1 joerg 643 1.1 joerg /* Define to the type of an unsigned integer type of width exactly 64 bits if 644 1.1 joerg such a type exists and the standard includes do not define it. */ 645 1.1 joerg /* #undef uint64_t */ 646 1.1 joerg 647 1.1 joerg /* Define to the type of an unsigned integer type of width exactly 8 bits if 648 1.1 joerg such a type exists and the standard includes do not define it. */ 649 1.1 joerg /* #undef uint8_t */ 650 1.1 joerg 651 1.1 joerg /* Define to the type of an unsigned integer type wide enough to hold a 652 1.1 joerg pointer, if such a type exists, and if the system does not define it. */ 653 1.1 joerg /* #undef uintptr_t */ 654 1.10 christos 655 1.9 joerg #include <sys/endian.h> 656 1.9 joerg #undef WORDS_BIGENDIAN 657 1.9 joerg #if BYTE_ORDER == BIG_ENDIAN 658 1.9 joerg # define WORDS_BIGENDIAN 1 659 1.9 joerg #endif 660