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

19 lines
646 B
Text

#ifndef _UINT256_T_CONFIG_
#define _UINT256_T_CONFIG_
#if defined(_MSC_VER)
#if defined(_DLL)
#define _UINT256_T_EXPORT __declspec(dllexport)
#define _UINT256_T_IMPORT __declspec(dllimport)
#else
#define _UINT256_T_EXPORT
#define _UINT256_T_IMPORT
#endif
#else
// All modules on Unix are compiled with -fvisibility=hidden
// All API symbols get visibility default
// whether or not we're static linking or dynamic linking (with -fPIC)
#define _UINT256_T_EXPORT __attribute__((visibility("default")))
#define _UINT256_T_IMPORT __attribute__((visibility("default")))
#endif
#endif