From dc1a121f87425e9fb135fcb810be51c8ef1b110e Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Fri, 8 Mar 2024 21:17:05 +0000 Subject: [PATCH] fixup! cmake: Check compiler features --- cmake/bitcoin-config.h.in | 3 --- cmake/introspection.cmake | 11 ----------- 2 files changed, 14 deletions(-) diff --git a/cmake/bitcoin-config.h.in b/cmake/bitcoin-config.h.in index bb44dae42eb0c..ea1cae29f268b 100644 --- a/cmake/bitcoin-config.h.in +++ b/cmake/bitcoin-config.h.in @@ -6,9 +6,6 @@ #define BITCOIN_CONFIG_H -/* Define this symbol if type char equals int8_t */ -#cmakedefine CHAR_EQUALS_INT8 1 - /* Version Build */ #define CLIENT_VERSION_BUILD @CLIENT_VERSION_BUILD@ diff --git a/cmake/introspection.cmake b/cmake/introspection.cmake index d9865874901a2..cf2ba13479055 100644 --- a/cmake/introspection.cmake +++ b/cmake/introspection.cmake @@ -224,17 +224,6 @@ check_cxx_source_compiles(" " HAVE_SYSCTL_ARND ) -check_cxx_source_compiles(" - #include - #include - - int main() - { - static_assert(std::is_same::value); - } - " CHAR_EQUALS_INT8 -) - check_cxx_source_compiles(" int foo(void) __attribute__((visibility(\"default\"))); int main(){}