moved boost version check to right place

This commit is contained in:
cr.zoidberg 2025-03-28 15:25:15 +04:00
parent e324d2442a
commit f6ebd0b811
2 changed files with 6 additions and 1 deletions

2
Zano

@ -1 +1 @@
Subproject commit 2241263925acfc2c31acd5b45d30ae703878a4c7
Subproject commit 8b910b91113762f63aacd91c9d3943088e74465f

View file

@ -14,6 +14,11 @@
#include "currency_core/basic_pow_helpers.h"
#include <nan.h>
#if BOOST_VERSION < 107500
#pragma message("Detected Boost version: " BOOST_LIB_VERSION)
#error "Boost version 1.75.0 or newer is required for zano-node-util."
#endif
#define THROW_ERROR_EXCEPTION(x) Nan::ThrowError(x)
void callback(char* data, void* hint) {