Initial import of libdpf.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ryan Henry 2026-09-24 14:08:32 -06:00
commit e4e666f459
4563 changed files with 1690372 additions and 0 deletions

View file

@ -0,0 +1,19 @@
#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