From 60471f7f46c1e5e470f704c9e841a7f9bab3620e Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Fri, 28 Mar 2025 15:27:46 +0400 Subject: [PATCH] moved boost checker to right place(now for sure) --- contrib/epee/include/include_base_utils.h | 3 --- src/common/boost_version_check.h | 13 +++++++++++++ 2 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 src/common/boost_version_check.h diff --git a/contrib/epee/include/include_base_utils.h b/contrib/epee/include/include_base_utils.h index 4434282d..a35e8b6a 100644 --- a/contrib/epee/include/include_base_utils.h +++ b/contrib/epee/include/include_base_utils.h @@ -30,6 +30,3 @@ #define ENABLE_RELEASE_LOGGING #include "misc_log_ex.h" - - - diff --git a/src/common/boost_version_check.h b/src/common/boost_version_check.h new file mode 100644 index 00000000..73d96810 --- /dev/null +++ b/src/common/boost_version_check.h @@ -0,0 +1,13 @@ +// Copyright (c) 2025 Zano Project +// Distributed under the MIT/X11 software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + +#pragma once + + +#include +#include // for BOOST_LIB_VERSION + +#if BOOST_VERSION < 107500 + # error "Boost version 1.75.0 or newer is required, detected: " BOOST_LIB_VERSION +#endif \ No newline at end of file