Lines Matching +full:separately +full:- +full:defined

1 // SPDX-License-Identifier: 0BSD
6 /// \brief Common includes, definitions, system-specific things etc.
26 // Choose if MinGW-w64's stdio replacement functions should be used.
30 // Modern MinGW-w64 enables the replacement functions even with UCRT
31 // when _GNU_SOURCE is defined. That's good because UCRT doesn't support
36 // size-optimized builds (HAVE_SMALL), disable the replacements.
40 // The legacy MSVCRT is pre-C99 and it's best to always use the stdio
41 // replacements functions from MinGW-w64.
42 #if defined(__MINGW32__) && !defined(__USE_MINGW_ANSI_STDIO)
45 # if defined(_UCRT) && defined(HAVE_SMALL)
59 // don't do that, and require including stdint.h separately.
64 // Some pre-C99 systems have SIZE_MAX in limits.h instead of stdint.h. The
65 // limits are also used to figure out some macros missing from pre-C99 systems.
68 // Be more compatible with systems that have non-conforming inttypes.h.
69 // We assume that int is 32-bit and that long is either 32-bit or 64-bit.
75 # error UINT32_C is not defined and unsigned int is not 32-bit.
124 // - Interix headers typedef size_t to unsigned long,
126 // - SCO OpenServer (x86) headers typedef size_t to unsigned int
128 #if defined(__INTERIX) || defined(_SCO_DS)
132 // The code currently assumes that size_t is either 32-bit or 64-bit.
139 # error size_t is not 32-bit or 64-bit
143 # error size_t is not 32-bit or 64-bit
149 // Pre-C99 systems lack stdbool.h. All the code in XZ Utils must be written
178 #elif defined(__GNUC__) || defined(__clang__)
191 # if _MSC_VER < 1927 && !defined(restrict)
213 #if defined(__GNUC__) \
222 #elif (defined(__GNUC__) && __GNUC__ >= 7) \
223 || (defined(__clang_major__) && __clang_major__ >= 10)