Extract CryptoNote crypto sources from upstream (fa1608cf). Build as static libcryptonote.a via CMake with compat stubs for external dependencies (warnings, logging, varint, profiling). 37 upstream files, 10 compat stubs, 680KB static library. Co-Authored-By: Charon <charon@lethean.io>
7 lines
269 B
C
7 lines
269 B
C
// SPDX-Licence-Identifier: EUPL-1.2
|
|
// Compat stub for auto_val_init.h — replaces boost::value_initialized with
|
|
// aggregate zero-initialisation which is equivalent for POD types.
|
|
#pragma once
|
|
|
|
#define AUTO_VAL_INIT(v) decltype(v){}
|
|
#define AUTO_VAL_INIT_T(t) t{}
|