mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 00:36:56 +02:00
Add SQLITE_VEC_STATIC option, prefix json function
This commit is contained in:
parent
65c4aa3754
commit
ac87b06b02
2 changed files with 19 additions and 20 deletions
|
|
@ -3,6 +3,16 @@
|
|||
|
||||
#include "sqlite3ext.h"
|
||||
|
||||
#ifdef SQLITE_VEC_STATIC
|
||||
#define SQLITE_VEC_API
|
||||
#else
|
||||
#ifdef _WIN32
|
||||
#define SQLITE_VEC_API __declspec(dllexport)
|
||||
#else
|
||||
#define SQLITE_VEC_API
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define SQLITE_VEC_VERSION "v${VERSION}"
|
||||
#define SQLITE_VEC_DATE "${DATE}"
|
||||
#define SQLITE_VEC_SOURCE "${SOURCE}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue