go-blockchain/crypto/compat/auto_val_init.h
Claude 1416a6714a
feat(crypto): Phase 2a scaffold — vendored C++ and CMake build
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>
2026-02-20 18:21:44 +00:00

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{}