1 // Copyright (c) 2018-2020 The Bitcoin Core developers 2 // Distributed under the MIT software license, see the accompanying 3 // file COPYING or http://www.opensource.org/licenses/mit-license.php. 4 5 #ifndef BITCOIN_BITCOIN_CONFIG_H 6 #define BITCOIN_BITCOIN_CONFIG_H 7 8 /* Define if building universal (internal helper macro) */ 9 /* #undef AC_APPLE_UNIVERSAL_BUILD */ 10 11 /* Version Build */ 12 #define CLIENT_VERSION_BUILD 0 13 14 /* Version is release */ 15 #define CLIENT_VERSION_IS_RELEASE true 16 17 /* Major version */ 18 #define CLIENT_VERSION_MAJOR 22 19 20 /* Minor version */ 21 #define CLIENT_VERSION_MINOR 0 22 23 /* Copyright holder(s) before %s replacement */ 24 #define COPYRIGHT_HOLDERS "The %s developers" 25 26 /* Copyright holder(s) */ 27 #define COPYRIGHT_HOLDERS_FINAL "The Bitcoin Core developers" 28 29 /* Replacement for %s in copyright holders string */ 30 #define COPYRIGHT_HOLDERS_SUBSTITUTION "Bitcoin Core" 31 32 /* Copyright year */ 33 #define COPYRIGHT_YEAR 2021 34 35 /* Define to 1 to enable wallet functions */ 36 #define ENABLE_WALLET 1 37 38 /* Define to 1 to enable BDB wallet */ 39 #define USE_BDB 1 40 41 /* Define to 1 to enable SQLite wallet */ 42 #define USE_SQLITE 1 43 44 /* Define to 1 to enable ZMQ functions */ 45 #define ENABLE_ZMQ 1 46 47 /* define if the Boost library is available */ 48 #define HAVE_BOOST /**/ 49 50 /* define if the Boost::Filesystem library is available */ 51 #define HAVE_BOOST_FILESYSTEM /**/ 52 53 /* define if external signer support is enabled (requires Boost::Process) */ 54 #define ENABLE_EXTERNAL_SIGNER /**/ 55 56 /* define if the Boost::System library is available */ 57 #define HAVE_BOOST_SYSTEM /**/ 58 59 /* define if the Boost::Unit_Test_Framework library is available */ 60 #define HAVE_BOOST_UNIT_TEST_FRAMEWORK /**/ 61 62 /* Define to 1 if you have the <byteswap.h> header file. */ 63 /* #undef HAVE_BYTESWAP_H */ 64 65 /* Define this symbol if the consensus lib has been built */ 66 #define HAVE_CONSENSUS_LIB 1 67 68 /* define if the compiler supports basic C++11 syntax */ 69 #define HAVE_CXX11 1 70 71 /* Define to 1 if you have the declaration of `be16toh', and to 0 if you 72 don't. */ 73 #define HAVE_DECL_BE16TOH 0 74 75 /* Define to 1 if you have the declaration of `be32toh', and to 0 if you 76 don't. */ 77 #define HAVE_DECL_BE32TOH 0 78 79 /* Define to 1 if you have the declaration of `be64toh', and to 0 if you 80 don't. */ 81 #define HAVE_DECL_BE64TOH 0 82 83 /* Define to 1 if you have the declaration of `bswap_16', and to 0 if you 84 don't. */ 85 #define HAVE_DECL_BSWAP_16 0 86 87 /* Define to 1 if you have the declaration of `bswap_32', and to 0 if you 88 don't. */ 89 #define HAVE_DECL_BSWAP_32 0 90 91 /* Define to 1 if you have the declaration of `bswap_64', and to 0 if you 92 don't. */ 93 #define HAVE_DECL_BSWAP_64 0 94 95 /* Define to 1 if you have the declaration of `fork', and to 0 if you don't. 96 */ 97 #define HAVE_DECL_FORK 0 98 99 /* Define to 1 if you have the declaration of `htobe16', and to 0 if you 100 don't. */ 101 #define HAVE_DECL_HTOBE16 0 102 103 /* Define to 1 if you have the declaration of `htobe32', and to 0 if you 104 don't. */ 105 #define HAVE_DECL_HTOBE32 0 106 107 /* Define to 1 if you have the declaration of `htobe64', and to 0 if you 108 don't. */ 109 #define HAVE_DECL_HTOBE64 0 110 111 /* Define to 1 if you have the declaration of `htole16', and to 0 if you 112 don't. */ 113 #define HAVE_DECL_HTOLE16 0 114 115 /* Define to 1 if you have the declaration of `htole32', and to 0 if you 116 don't. */ 117 #define HAVE_DECL_HTOLE32 0 118 119 /* Define to 1 if you have the declaration of `htole64', and to 0 if you 120 don't. */ 121 #define HAVE_DECL_HTOLE64 0 122 123 /* Define to 1 if you have the declaration of `le16toh', and to 0 if you 124 don't. */ 125 #define HAVE_DECL_LE16TOH 0 126 127 /* Define to 1 if you have the declaration of `le32toh', and to 0 if you 128 don't. */ 129 #define HAVE_DECL_LE32TOH 0 130 131 /* Define to 1 if you have the declaration of `le64toh', and to 0 if you 132 don't. */ 133 #define HAVE_DECL_LE64TOH 0 134 135 /* Define to 1 if you have the declaration of `setsid', and to 0 if you don't. 136 */ 137 #define HAVE_DECL_SETSID 0 138 139 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you 140 don't. */ 141 #define HAVE_DECL_STRERROR_R 0 142 143 /* Define to 1 if you have the declaration of `strnlen', and to 0 if you 144 don't. */ 145 #define HAVE_DECL_STRNLEN 1 146 147 /* Define to 1 if you have the <dlfcn.h> header file. */ 148 /* #undef HAVE_DLFCN_H */ 149 150 /* Define to 1 if you have the <endian.h> header file. */ 151 /* #undef HAVE_ENDIAN_H */ 152 153 /* Define to 1 if the system has the `dllexport' function attribute */ 154 #define HAVE_FUNC_ATTRIBUTE_DLLEXPORT 1 155 156 /* Define to 1 if the system has the `dllimport' function attribute */ 157 #define HAVE_FUNC_ATTRIBUTE_DLLIMPORT 1 158 159 /* Define to 1 if the system has the `visibility' function attribute */ 160 #define HAVE_FUNC_ATTRIBUTE_VISIBILITY 1 161 162 /* Define this symbol if the BSD getentropy system call is available */ 163 /* #undef HAVE_GETENTROPY */ 164 165 /* Define this symbol if the BSD getentropy system call is available with 166 sys/random.h */ 167 /* #undef HAVE_GETENTROPY_RAND */ 168 169 /* Define to 1 if you have the <inttypes.h> header file. */ 170 #define HAVE_INTTYPES_H 1 171 172 /* Define this symbol if you have malloc_info */ 173 /* #undef HAVE_MALLOC_INFO */ 174 175 /* Define this symbol if you have mallopt with M_ARENA_MAX */ 176 /* #undef HAVE_MALLOPT_ARENA_MAX */ 177 178 /* Define to 1 if you have the <memory.h> header file. */ 179 #define HAVE_MEMORY_H 1 180 181 /* Define to 1 if you have the <miniupnpc/miniupnpc.h> header file. */ 182 #define HAVE_MINIUPNPC_MINIUPNPC_H 1 183 184 /* Define to 1 if you have the <miniupnpc/upnpcommands.h> header file. */ 185 #define HAVE_MINIUPNPC_UPNPCOMMANDS_H 1 186 187 /* Define to 1 if you have the <miniupnpc/upnperrors.h> header file. */ 188 #define HAVE_MINIUPNPC_UPNPERRORS_H 1 189 190 /* Define this symbol if you have MSG_DONTWAIT */ 191 /* #undef HAVE_MSG_DONTWAIT */ 192 193 /* Define this symbol if you have MSG_NOSIGNAL */ 194 /* #undef HAVE_MSG_NOSIGNAL */ 195 196 /* Define if you have POSIX threads libraries and header files. */ 197 //#define HAVE_PTHREAD 1 198 199 /* Have PTHREAD_PRIO_INHERIT. */ 200 //#define HAVE_PTHREAD_PRIO_INHERIT 1 201 202 /* Define to 1 if you have the <stdint.h> header file. */ 203 #define HAVE_STDINT_H 1 204 205 /* Define to 1 if you have the <stdio.h> header file. */ 206 #define HAVE_STDIO_H 1 207 208 /* Define to 1 if you have the <stdlib.h> header file. */ 209 #define HAVE_STDLIB_H 1 210 211 /* Define to 1 if you have the `strerror_r' function. */ 212 /* #undef HAVE_STRERROR_R */ 213 214 /* Define to 1 if you have the <strings.h> header file. */ 215 #define HAVE_STRINGS_H 1 216 217 /* Define to 1 if you have the <string.h> header file. */ 218 #define HAVE_STRING_H 1 219 220 /* Define this symbol if the BSD sysctl(KERN_ARND) is available */ 221 /* #undef HAVE_SYSCTL_ARND */ 222 223 /* Define to 1 if you have the <sys/endian.h> header file. */ 224 /* #undef HAVE_SYS_ENDIAN_H */ 225 226 /* Define this symbol if the Linux getrandom system call is available */ 227 /* #undef HAVE_SYS_GETRANDOM */ 228 229 /* Define to 1 if you have the <sys/prctl.h> header file. */ 230 /* #undef HAVE_SYS_PRCTL_H */ 231 232 /* Define to 1 if you have the <sys/select.h> header file. */ 233 /* #undef HAVE_SYS_SELECT_H */ 234 235 /* Define to 1 if you have the <sys/stat.h> header file. */ 236 #define HAVE_SYS_STAT_H 1 237 238 /* Define to 1 if you have the <sys/types.h> header file. */ 239 #define HAVE_SYS_TYPES_H 1 240 241 /* Define to 1 if you have the <unistd.h> header file. */ 242 //#define HAVE_UNISTD_H 1 243 244 /* Define if the visibility attribute is supported. */ 245 #define HAVE_VISIBILITY_ATTRIBUTE 1 246 247 /* Define to the sub-directory where libtool stores uninstalled libraries. */ 248 #define LT_OBJDIR ".libs/" 249 250 /* Define to the address where bug reports for this package should be sent. */ 251 #define PACKAGE_BUGREPORT "https://github.com/bitcoin/bitcoin/issues" 252 253 /* Define to the full name of this package. */ 254 #define PACKAGE_NAME "Bitcoin Core" 255 256 /* Define to the full name and version of this package. */ 257 #define PACKAGE_STRING "Bitcoin Core 22.0.0" 258 259 /* Define to the one symbol short name of this package. */ 260 #define PACKAGE_TARNAME "bitcoin" 261 262 /* Define to the home page for this package. */ 263 #define PACKAGE_URL "https://bitcoincore.org/" 264 265 /* Define to the version of this package. */ 266 #define PACKAGE_VERSION "22.0.0" 267 268 /* Define to necessary symbol if this constant uses a non-standard name on 269 your system. */ 270 /* #undef PTHREAD_CREATE_JOINABLE */ 271 272 /* Define this symbol if the qt platform is cocoa */ 273 /* #undef QT_QPA_PLATFORM_COCOA */ 274 275 /* Define this symbol if the minimal qt platform exists */ 276 #define QT_QPA_PLATFORM_MINIMAL 1 277 278 /* Define this symbol if the qt platform is windows */ 279 #define QT_QPA_PLATFORM_WINDOWS 1 280 281 /* Define this symbol if the qt platform is xcb */ 282 /* #undef QT_QPA_PLATFORM_XCB */ 283 284 /* Define this symbol if qt plugins are static */ 285 #define QT_STATICPLUGIN 1 286 287 /* Define to 1 if you have the ANSI C header files. */ 288 #define STDC_HEADERS 1 289 290 /* Define to 1 if strerror_r returns char *. */ 291 /* #undef STRERROR_R_CHAR_P */ 292 293 /* Define this symbol to build in assembly routines */ 294 //#define USE_ASM 1 295 296 /* Define if dbus support should be compiled in */ 297 /* #undef USE_DBUS */ 298 299 /* Define if QR support should be compiled in */ 300 //#define USE_QRCODE 1 301 302 /* UPnP support not compiled if undefined, otherwise value (0 or 1) determines 303 default state */ 304 //#define USE_UPNP 0 305 306 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most 307 significant byte first (like Motorola and SPARC, unlike Intel). */ 308 #if defined AC_APPLE_UNIVERSAL_BUILD 309 # if defined __BIG_ENDIAN__ 310 # define WORDS_BIGENDIAN 1 311 # endif 312 #else 313 # ifndef WORDS_BIGENDIAN 314 /* # undef WORDS_BIGENDIAN */ 315 # endif 316 #endif 317 318 /* Enable large inode numbers on Mac OS X 10.5. */ 319 #ifndef _DARWIN_USE_64_BIT_INODE 320 # define _DARWIN_USE_64_BIT_INODE 1 321 #endif 322 323 /* Number of bits in a file offset, on hosts where this is settable. */ 324 #define _FILE_OFFSET_BITS 64 325 326 /* Define for large files, on AIX-style hosts. */ 327 /* #undef _LARGE_FILES */ 328 329 /* Windows Universal Platform constraints */ 330 #if !defined(WINAPI_FAMILY) || (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP) 331 /* Either a desktop application without API restrictions, or and older system 332 before these macros were defined. */ 333 334 /* ::wsystem is available */ 335 #define HAVE_SYSTEM 1 336 337 #endif // !WINAPI_FAMILY || WINAPI_FAMILY_DESKTOP_APP 338 339 #endif //BITCOIN_BITCOIN_CONFIG_H 340