libdpf/thirdparty/uint256_t/uint256_t.build
Ryan Henry e4e666f459 Initial import of libdpf.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 14:08:32 -06:00

15 lines
495 B
Text

// IMPLEMENTATION BUILD HEADER
// We need uint128_t symbols as plain "extern", neither import nor export
// because we're linking the 128 and 256 object files into a single library
// So we can only have one export for symbol in any translation unit
#define UINT256_T_EXTERN
#include "uint128_t.h"
#undef UINT256_T_EXTERN
#ifndef _UNIT256_T_BUILD
#define _UINT256_T_BUILD
#include "uint256_t_config.include"
#define UINT256_T_EXTERN _UINT256_T_EXPORT
#endif
#include "uint256_t.include"