asio: disable concepts support

The bundled version of asio uses legacy concepts syntax
(https://en.cppreference.com/w/cpp/experimental/constraints) which is
not accepted by GCC with -std=c++20.
Disable the concepts support until asio is upgraded to a version which
supports the new syntax.
This commit is contained in:
Ivan Grokhotkov 2022-06-03 16:21:53 +02:00
parent 7f971429bc
commit 9dba0476a0
No known key found for this signature in database
GPG Key ID: 1E050E141B280628

View File

@ -30,6 +30,7 @@
# define ASIO_SEPARATE_COMPILATION
# define ASIO_STANDALONE
# define ASIO_HAS_PTHREADS
# define ASIO_DISABLE_CONCEPTS
# ifdef CONFIG_ASIO_USE_ESP_OPENSSL
# define ASIO_USE_ESP_OPENSSL